latest price of token

Streams DEX trades by token on Solana as they happen, where currency mint address is 9QFfgx…pump or 2PrJoP…pump, side currency mint address is 111111…1111, So1111…1112 or 4 more and side amount in USD is above 5: quantile of trade price in USD, average of trade price in USD, sum of trade side amount in USD, block time, price in USD, trade amount, side type and 3 more fields.

By gaurav · saved 18 October 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      where: {Transaction: {Result: {Success: true}}, Trade: {Currency: {MintAddress: {in: ["9QFfgxdSqH5zT7j6rZb1y6SZhw2aFtcQu2r6BuYpump", "2PrJoPoRzsm8DNuH6XPcTCtvt8XFzHBxqjwG5UC1pump"]}}, Side: {AmountInUSD: {gt: "5"}, Currency: {MintAddress: {in: ["11111111111111111111111111111111", "So11111111111111111111111111111111111111112", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB", "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN", "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm"]}}}}}
    ) {
      min: quantile(of: Trade_PriceInUSD, level: 0.05)
      max: quantile(of: Trade_PriceInUSD, level: 0.95)
      average(of: Trade_PriceInUSD)
      volume: sum(of: Trade_Side_AmountInUSD)
      Block {
        Time
      }
      Trade {
        PriceInUSD
        close: PriceInUSD
        Amount
        Side {
          Type
          Currency {
            Symbol
            MintAddress
            Name
          }
        }
      }
    }
  }
}

Similar queries