pairs of multiple tokens

Returns 100 DEX trades on Ethereum, where base currency is 0x5283…8b44 or 0xdc63…1b01, date since 2023-02-20 and date till 2023-02-27, sorted by count, highest first: base currency symbol, base currency address, quote currency symbol, quote currency name, quote currency address and count.

By gaurav · saved 28 February 2023 · run 8 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      baseCurrency: {in: ["0x5283d291dbcf85356a21ba090e6db59121208b44", "0xdc63269ea166b70d4780b3a11f5c825c2b761b01"]}
      date: {since: "2023-02-20", till: "2023-02-27"}
      options: {desc: "count", limit: 100}
    ) {
      baseCurrency {
        symbol
        address
      }
      quoteCurrency {
        symbol
        name
        address
      }
      count
    }
  }
}

Variables

{
  "limit": 100,
  "offset": 0,
  "network": "bsc",
  "baseCurrency": "0x20f663cea80face82acdfa3aae6862d246ce0333",
  "from": "2023-02-20",
  "till": "2023-02-27T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries