Trades of a token Live

Streams DEX trades by token on Solana as they happen, where currency mint address is 6n7Jan…caQS and side currency mint address is So1111…1112: block time, transaction signature, external seq number, internal seq number, program name, program address, protocol family and 8 more fields.

By Aleksey · saved 5 April 2024 · run 9 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      where: {
        
        Trade: {
          
          Currency: {
            MintAddress: {
              is: "6n7Janary9fqzxKaJVrhL9TG2F61VbAtwUMu1YZscaQS"
            }
          }
          
          Side: {
            Currency: {
              MintAddress: {
                is: "So11111111111111111111111111111111111111112"
              }
            }
          }
        }
      }) {
      Block {
        Time
      }
      Transaction{
        Signature
      }
      Instruction {
        ExternalSeqNumber
        InternalSeqNumber
        Program {
          Name
        }
      }
      Trade {
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Account {
          Address
        }
        Amount
        Price
				Currency {
          Symbol
          Name
        }
        Side {
          Account {
            Address
          }
          Amount
        }
      }
    }
  }
}

Similar queries