all trades of specific tokens

Streams DEX trades by token on Solana as they happen, where currency mint address is CzLSuj…pump or rndriz…HBof, trade amount in USD is above 10 and side amount in USD is above 10: block time, trade price, price in USD, trade amount, amount in USD, currency name, currency symbol and 13 more fields.

By gaurav · saved 16 May 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription LatestTrades($tokenList: [String!]) {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {in: $tokenList}}, AmountInUSD: {gt: "10"}, Side: {AmountInUSD: {gt: "10"}}}, Transaction: {Result: {Success: true}}}
    ) {
      Block {
        Time
      }
      Trade {
        Price
        PriceInUSD
        Amount
        AmountInUSD
        Currency{
          Name
          Symbol
          MintAddress
        }
        Account {
          Owner
        }
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Side {
          Type
          Account {
            Address
            Owner
          }
          Currency {
            Name
            Symbol
            MintAddress
          }
          AmountInUSD
          Amount
        }
      }
    }
  }
}

Variables

{
  "tokenList": ["CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump","rndrizKT3MK1iimdxRdWabcF7Zg7AR5T4nud4EkHBof"]
}

Similar queries