24h volume stats

Returns DEX trades by token on Solana, where currency mint address is tokenAddress1, tokenAddress2 or 1 more and DEX protocol name is not jupiter or dex_solana_v3: currency name, currency symbol, currency mint address, URI, price in USD and sum of trade side amount in USD.

By Akshat · saved 17 March 2026 · Bitquery API v2

What it returns

Filters

The query

query PumpfunTokenStats($mintAddresses: [String!]!) {
  Solana(dataset: combined) {
    volume: DEXTradeByTokens(
      where: {
        Trade: {
          Currency: { MintAddress: { in: $mintAddresses } }
          Dex: { ProtocolName: { notIn: ["jupiter", "dex_solana_v3"] } }
        }
        Block: { Time: { since_relative: { hours_ago: 24 } } }
        Transaction: { Result: { Success: true } }
      }
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
          Uri
        }
      }
      price_usd: Trade {
        PriceInUSD(maximum: Block_Slot)
      }
      volume_24hr: sum(of: Trade_Side_AmountInUSD)
    }
  }
}

Variables

{
  "mintAddresses": ["tokenAddress1", "tokenAddress2", "tokenAddress3"]
}

Similar queries