latest token trade on multiple exchange

Returns 10 DEX trades on Ethereum and Polygon, where base currency is 0x2791…4174, date since 2022-05-17 and date till 2022-05-24, sorted by count, highest first: quote currency symbol, quote currency name, quote currency address and count.

By gaurav · saved 24 May 2022 · run 3 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": "matic",
  "baseCurrency": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
  "from": "2022-05-17",
  "till": "2022-05-24T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries