Total number of trades on each DEX for token

Returns DEX trades on Ethereum, where base currency is 0xa0b8…eb48: protocol, full name and count.

By Thi Ngoc My Pham · saved 8 February 2023 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $token: String!) {
  ethereum(network: $network) {
    dexTrades(
      baseCurrency: {is: $token}
    ) {
      protocol
      exchange {
        fullName
      }
      count
    }
  }
}

Variables

{
  "network": "ethereum",
  "token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
  "dateFormat": "%Y-%m-%d"
}

Similar queries