How can I view the average gas fee on the Ethereum blockchain?

Returns transactions on Ethereum, where date since 2023-01-01, sorted by date date: date date, gas price and gas value.

By Oluwatomisin · saved 20 April 2023 · run 6 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    transactions(options: {asc: "date.date"}, date: {since: "2023-01-01"}) {
      date: date {
        date(format: "%Y-%m-%d")
      }
      gasPrice(calculate: average)
      gasValue(calculate: average)
    }
  }
}

Similar queries