Count of DEX Trades By Protocol

Returns the latest DEX trades on Arbitrum, where block date since 2025-02-06 and block date till 2025-02-13: block date, chain ID, count, protocol name, protocol family and protocol version.

By Nadia · saved 13 February 2025 · run 2 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}}, Trade: {Success: true}}
      orderBy: {descending: Block_Date}
    ) {
      Block {
        Date
      }
      ChainId
      count
      Trade {
        Dex {
          ProtocolName
          ProtocolFamily
          ProtocolVersion
        }
      }
    }
  }
}

Variables

{
  "network": "arbitrum",
  "limit": 100,
  "offset": 0,
  "from": "2025-02-06",
  "till": "2025-02-13",
  "dateFormat": "%Y-%m-%d",
  "date_middle": "2025-02-09"
}

Similar queries