Protocol wise DEX Exchange on Ethereum

Returns 10 DEX trades on Ethereum, sorted by trades, highest first: address address, annotation, protocol and count.

By Sonakshi · saved 11 October 2021 · Bitquery API v1

What it returns

The query

query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(options: {desc: "trades", limit: $limit, offset: $offset}, date: {since: $from, till: $till}) {
      smartContract {
        address {
          address
          annotation
        }
      }
      protocol
      trades: count
      currencies: count(uniq: buy_currency)
      contracts: count(uniq: smart_contracts)
    }
  }
}

Variables

{"limit":10,"offset":0,"network":"ethereum","from":null,"till":null,"dateFormat":"%Y-%m"}

Similar queries