DEX Exchange on Ethereum

Returns DEX trades on Ethereum, sorted by trade amount, highest first: full name, count and trade amount.

By Sonakshi · saved 8 October 2021 · Bitquery API v1

What it returns

The query

query ($network: EthereumNetwork!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(options: {desc: "tradeAmount"}, date: {since: $from, till: $till}) {
      exchange {
        fullName
      }
      trades: count
      tradeAmount(in: USD)
      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