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, program address, protocol family, protocol name, account owner, side type, side account address and 8 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 {
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Account {
          Owner
        }
        Side {
          Type
          Account {
            Address
            Owner
          }
        }
        Price
        Amount
        Side {
          Currency {
            Symbol
            MintAddress
            Name
          }
          AmountInUSD
          Amount
        }
      }
    }
  }
}

Variables

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

Similar queries