Solana DEXTradeByTokens 1 day pair volume

Returns 100 DEX trades by token on Solana, where block date is 2025-01-01, sorted by volume USD, highest first: currency symbol, currency name, currency mint address, decimals, side currency symbol, side currency mint address, sum of trade side amount in USD and 2 more fields.

By gaurav · saved 3 August 2026 · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: archive, aggregates: yes) {
    DEXTradeByTokens(
      where: {Block: {Date: {is: "2025-01-01"}}}
      orderBy: {descendingByField: "volume_usd"}
      limit: {count: 100}
    ) {
      Trade {
        Currency { Symbol Name MintAddress Decimals }
        Side { Currency { Symbol MintAddress } }
      }
      volume_usd: sum(of: Trade_Side_AmountInUSD)
      volume_usd_base: sum(of: Trade_AmountInUSD)   # keep for the sanity check
      trades: count
    }
  }
}

Similar queries