DEX Smart Contract Protocols

Returns 10 DEX trades on Ethereum, where date since 2023-07-10 and date till 2023-07-10, sorted by trades, highest first: protocol and count.

By Nadia · saved 11 July 2023 · run 27 times · Bitquery API v1

What it returns

Filters

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}
    ) {
      protocol
      trades: count
      currencies: count(uniq: buy_currency)
      contracts: count(uniq: smart_contracts)
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "from": "2023-07-10",
  "till": "2023-07-10T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries