How many trades of WETH tokens in last 1 day?

Returns DEX trades on Ethereum, where buy currency is 0xc02a…6cc2 and date is 2023-04-20: count and trade amount.

By Oluwatomisin · saved 20 April 2023 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    dexTrades(
      buyCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
      date: {is: $till}
    ) {
     
      count
      tradeAmount(in: USD)
  
    }
  }
}

Variables

{

  "network": "ethereum",
  "till": "2023-04-20",
  "dateFormat": "%Y-%m-%d"
}

Similar queries