fee on date

Returns the latest calls on Ethereum, where block date till 2025-04-24 and block date since 2025-04-17: sum of fee burnt, sum of fee sender fee, sum of fee gas refund, sum of fee miner reward, average of transaction gas price, count, chain ID and block date.

By Nadia · saved 24 April 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $from: String, $till: String) {
  EVM(dataset: realtime, network: $network) {
    Calls(
      where: {Block: {Date: {till: $till, since: $from}}, TransactionStatus: {Success: false}}
      orderBy: {descending: Block_Date}
    ) {
      burnt: sum(of: Fee_Burnt)
      sender_fee: sum(of: Fee_SenderFee)
      fee_refund: sum(of: Fee_GasRefund)
      fee_reward: sum(of: Fee_MinerReward)
      average(of: Transaction_GasPrice)
      count
      ChainId
      Block {
        Date
      }
    }
  }
}

Variables

{
  "limit": 100,
  "network": "eth",
  "from": "2025-04-17",
  "till": "2025-04-24",
  "dateFormat": "%Y-%m-%d",
  "date_middle": "2025-04-20"
}

Similar queries