volume of a pumpfun token

Returns DEX trades by token on Solana, where currency mint address is BQ2H4i…pump, side currency mint address is So1111…1112 and block time since 2025-05-07: sum of trade amount and sum of trade side amount in USD.

By gaurav · saved 7 May 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
            where: {Trade: {Currency: {MintAddress: {is: "BQ2H4iunQzbhMQaUf65J5N7qVASX9JWf8oytTM2Gpump"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}, Block: {Time: {since: "2025-05-07T09:25:00Z"}}}
    ){
     volume: sum(of:Trade_Amount)
    volumeInUSD: sum(of:Trade_Side_AmountInUSD)

    }
  }
}

Similar queries