top trades

Returns 10 DEX trades by token, where block time after 2024-01-03, sorted by count, highest first: sum of trade amount, smart contract, currency name, currency symbol, side currency name, side currency symbol, side smart contract and count.

By gaurav · saved 5 January 2024 · run 12 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: realtime) {
    DEXTradeByTokens(
      limit: {count: 10}
      orderBy: {descendingByField: "count"}
      limitBy: {by: Trade_Dex_Pair_SmartContract, count: 1}
      where: {Block: {Time: {after: "2024-01-03T00:00:00Z"}}}
    ) {
      volume: sum(of: Trade_Amount)
      Trade {
        Dex {
          Pair {
            SmartContract
          }
        }
        Currency {
          Name
          Symbol
          SmartContract
        }
        Side {
          Currency {
            Name
            Symbol
            SmartContract
          }
        }
      }
      count
    }
  }
}

Similar queries