Unique tokens per DEX program

Returns 100 trades, where market network is Solana, sorted by unique tokens, highest first: count, sum of amounts in USD quote, program, protocol, protocol family and network.

By Akshat · saved 7 April 2026 · Bitquery API v2

What it returns

Filters

The query

{
  Trading {
    Trades(
      limit:{count:100}
      orderBy: {descendingByField: "Unique_tokens"}
      where: {Block: {Time: {since_relative: {hours_ago: 1}}}, Pair: {Market: {Network: {is: "Solana"}}}}
    ) {
      Trades_count:count
      Dex_Volume:sum(of:AmountsInUsd_Quote)
      Unique_tokens: count(distinct:Pair_Token_Id)
      Pair {
        Market {
          Program
          Protocol
          ProtocolFamily
          Network
        }
      }
    }
  }
}

Similar queries