totalPoolVolume celo- pool ethix

Returns DEX trades on Ethereum and celo_rc1, where smart contract address is 0x3420…5a5d: trade amount, quote currency name and base currency name.

By Lucas · saved 31 March 2023 · run 111 times · Bitquery API v1

What it returns

Filters

The query

query getTotalPoolVolume($pool: String!, $start: ISO8601DateTime!, $end: ISO8601DateTime!) {
  ethereum(network: celo_rc1) {
    dexTrades(date: {between: [$start, $end]}, smartContractAddress: {is: $pool}) {
      tradeAmount(in: USD)
      quoteCurrency {
        name
      }
      baseCurrency {
        name
      }
    }
  }
}

Variables

{
  "pool": "0x3420720E561F3082f1e514a4545f0F2e0c955a5d",
  "start": "2023-01-01",
  "end": "2023-03-01"
}

Similar queries