volume and pair address of trending tokens

Returns 10 DEX trades by token on Ethereum, where block time since 2025-01-08, sorted by trade count, highest first: count, currency symbol, smart contract, side currency symbol, side smart contract and sum of trade side amount in USD.

By Kshitij Mahajan · saved 9 January 2025 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query TrendingPairs {
  EVM(dataset: combined, network: eth) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "TradeCount"}
      where: {Block: {Time: {since: "2025-01-08T08:08:00Z"}}, TransactionStatus: {Success: true}}
      limit: {count: 10}
      limitBy: {by: Trade_Dex_SmartContract, count: 1}
    ) {
      TradeCount: count
      Trade {
        Currency {
          Symbol
          SmartContract
        }
        Side {
          Currency {
            Symbol
            SmartContract
          }
        }
        Dex {
          SmartContract
        }
      }
      volume: sum(of: Trade_Side_AmountInUSD)
    }
  }
}

Similar queries