fee on date

Returns the latest 100 calls on Ethereum, where block date till 2023-12-28 and block date since 2023-12-21: 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 13 February 2025 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int, $from: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    Calls(
      where: {Block: {Date: {till: $till, since: $from}}, TransactionStatus: {Success: false}}
      limit: {count: $limit}
      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": "2023-12-21",
  "till": "2023-12-28"
}

Similar queries