a

Returns 10 DEX trades on Ethereum and BNB Chain, where base currency is 0x3e36…11df, time since 2022-04-10 and time till 2022-04-10, sorted by count, highest first: quote currency symbol, quote currency name, quote currency address and count.

By Jay · saved 1 May 2022 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $from: ISO8601DateTime, $till: ISO8601DateTime, $baseCurrency: String, $limit: Int!, $offset: Int!) {
  ethereum(network: $network) {
    dexTrades(
      baseCurrency: {is: $baseCurrency}
      time: {since: $from, till: $till}
      options: {desc: "count", limit: $limit, offset: $offset}
    ) {
      quoteCurrency {
        symbol
        name
        address
      }
      count
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "baseCurrency": "0x3e362283b86c1b45097cc3fb02213b79cf6211df",
   "from": "2022-04-10T17:59:59",
  "till": "2022-04-10T20:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries