subscriptionSolanaToken

Real time price stream for tokens on solana

Streams DEX trades by token on Solana as they happen: amount in USD, price in USD, currency name, currency symbol, currency mint address, side type, side currency symbol and 4 more fields.

By guyasong · saved 7 July 2025 · Bitquery API v2

What it returns

The subscription

subscription($sideSymbols:[String!], $amountMin:String!) {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Side: {AmountInUSD: {gt: $amountMin}, Currency: {MintAddress: {in: $sideSymbols}}}}}
    ) {
      Trade {
        AmountInUSD
        PriceInUSD
        Currency {
          Name
          Symbol
          MintAddress
        }
        Side {
          Type
          Currency {
            Symbol
            MintAddress
            Name
          }
          AmountInUSD
          Amount
        }          
      }
    }
  }
}

Variables

{  
  "amountMin": "500"
  "sideSymbols":["", "So11111111111111111111111111111111111111112", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB", "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN", "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm"]
}

Similar queries