Highest Liquidity in the given 24 hour time interval

Returns 5 DEX trades by token on Ethereum, where block time since 2024-04-17 and block time till 2024-04-18, sorted by balance, highest first: currency name, currency symbol, smart contract and sum of trade amount.

By Kshitij · saved 18 April 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery($count: Int = 5, $since: DateTime = "2024-04-17T17:47:00Z", $till: DateTime = "2024-04-18T17:47:00Z") {
  EVM(network: eth, dataset: archive) {
    DEXTradeByTokens(
      limit: {count: $count}
      orderBy: {descendingByField: "balance"}
      where: {Block: {Time: {since: $since, till: $till}}}
    ) {
      Trade {
        Currency {
          Name
          Symbol
          SmartContract
        }
      }
      balance: sum(of: Trade_Amount)
    }
  }
}

Similar queries