Trending Pairs

Returns 50 DEX trades by token on Ethereum, where block time since 2024-06-05, sorted by trade count, highest first: count, smart contract, protocol name, protocol family, currency symbol, side currency symbol and side smart contract.

By Joshua Mitchell · saved 19 February 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query TrendingPairs {
  EVM(dataset: combined, network: eth) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "TradeCount"}
      where: {Block: {Time: {since: "2024-06-05T08:08:00Z"}}, TransactionStatus: {Success: true}}
      limit: {count: 50}
      limitBy: {by: Trade_Dex_Pair_SmartContract, count: 1}
    ) {
      TradeCount: count
      Trade {
        Dex {
          SmartContract
          ProtocolName
          ProtocolFamily
          Pair {
            SmartContract
          }
        }
        Currency {
          Symbol
          SmartContract
        }
        Side {
          Currency {
            Symbol
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries