Get 24h volume

Returns DEX trades on Ethereum, where base currency is 0xAfD5…4bdc and date since 2025-01-01: count and trade amount.

By MA · saved 2 January 2025 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      baseCurrency: { is: "0xAfD502fD7d5F8700Ac4B73AA8ED388101CCf4bdc" }
      # smartContractAddress: {is: "0x034eed079f47da364b4e6d976693b0047f27e6e1"}
      date: {since: "2025-01-01T13:27:06.339Z"}
    ) {
      count
      tradeAmount(in: USD)
    }
  }
}

Similar queries