Count of DEX Trades By Protocol

Returns the latest DEX trades on Arbitrum, where block date since 2023-09-19 and block date till 2023-09-19: block date, chain ID, count, protocol name, protocol family and protocol version.

By Nadia · saved 19 September 2023 · run 10 times · Bitquery API v2

What it returns

Filters

The query

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

Variables

{
  "network": "arbitrum",
  "limit": 100,
  "offset": 0,
  "from": "2023-09-19",
  "till": "2023-09-19"
}

Similar queries