token listed on exchanges

Returns 10 DEX trades on Ethereum, where base currency is 0xf4d2…421e, date since 2022-01-09 and date till 2022-02-07, sorted by count, highest first: quote currency symbol, quote currency name, quote currency address, count, exchange name and full name.

By gaurav · saved 7 February 2022 · run 4 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
      exchange{
        name
        fullName
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "baseCurrency": "0xf4d2888d29d722226fafa5d9b24f9164c092421e",
  "from": "2022-01-09",
  "till": "2022-02-07T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries