Filter aggr metric

Returns 100 DEX trades by token on Solana, where block time since 2024-02-17, sorted by volume 24 h, highest first: currency name, currency symbol, currency mint address, protocol name, sum of trade side amount in USD and count.

By Aleksey · saved 18 February 2025 · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTradeByTokens(
      orderBy: {descendingByField: "volume_24h"}
      limit: {count: 100}
      where: {Block: {Time: {since: "2024-02-17T12:05:04Z"}}, Transaction: {Result: {Success: true}}}
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        Dex {
          ProtocolName
        }
      }
      volume_24h: sum(of: Trade_Side_AmountInUSD selectWhere: {gt: "1500000000"})
      trades_count: count
    }
  }
}

Similar queries