avalanche

Returns 10 DEX trades on Ethereum and Avalanche, where base currency is 0x184f…68c1, date since 2024-03-25 and date till 2024-04-01, sorted by count, highest first: quote currency symbol, quote currency name, quote currency address and count.

By developerjory · saved 1 April 2024 · run 2 times · 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}
      date: {since: $from, till: $till}
      options: {desc: "count", limit: $limit, offset: $offset}
    ) {
      quoteCurrency {
        symbol
        name
        address
      }
      count
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "avalanche",
  "baseCurrency": "0x184ff13b3ebcb25be44e860163a5d8391dd568c1",
  "from": "2024-03-25",
  "till": "2024-04-01T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries