Top Tokens on Polygon

Returns 10 DEX trades on Ethereum and Polygon, sorted by currency amount, highest first: base currency symbol, base currency address, count, base amount and minimum of date.

By gaurav · saved 12 August 2021 · run 2 times · 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: "currencyAmount", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
    ) {
      currency: baseCurrency {
        symbol
        address
      }
      count
      currencyAmount: baseAmount(in: USD)
      dates: count(uniq: dates)
      started: minimum(of: date)
    }
  }
}

Variables

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

Similar queries