indodax gas calc example

Returns transfers on Ethereum, where transaction from is 0x3c02…e7c6 and block date after 2022-01-01: sum of transaction gas and sum of transaction cost.

By Divyasshree · saved 6 May 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(aggregates: yes, network: eth, dataset: archive) {
    Transfers(
      where: {Transaction: {From: {is: "0x3c02290922a3618a4646e3bbca65853ea45fe7c6"}}, Block: {Date: {after: "2022-01-01"}}}
    ) {
      total_gas: sum(of: Transaction_Gas)
      totl_cost: sum(of: Transaction_Cost)
    }
  }
}

Similar queries