Count of DEX Trades By Protocol

Returns 10 DEX trades on Ethereum, where block date since 2023-07-10 and block date till 2023-07-10: block date, chain ID, count, protocol name, protocol family and protocol version.

By Nadia · saved 13 September 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $offset: Int!, $from: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    DEXTrades(
      limit: {count: $limit, offset: $offset}
      where: {Block: {Date: {since: $from, till: $till}}}
    ) {
      Block {
        Date
      }
      ChainId
      count
      Trade {
        Dex {
          ProtocolName
          ProtocolFamily
          ProtocolVersion
        }
      }
    }
  }
}

Variables

{
  "network": "eth",
  "limit": 10,
  "offset": 0,
  "from": "2023-07-10",
  "till": "2023-07-10"
}

Similar queries