Average Gas Used For Contract Deployment

Returns the latest 10 calls on Ethereum: block date and average of call gas used.

By Ashish Bhintade · saved 7 May 2024 · Bitquery API v2

What it returns

The query

{
  EVM(dataset: combined, network: eth) {
    Calls(
      limit: {count: 10}
      orderBy: {descendingByField: "Block_Date"}
      where: {Call: {Create: true}}
    ) {
      Block {
        Date(interval: {count: 1, in: weeks})
      }
      average(of: Call_GasUsed)
    }
  }
}

Similar queries