Gas value hourly

Returns transactions on Ethereum, where date since 2022-07-05 and date till 2022-07-05, sorted by block timestamp time: timestamp time, gas price and gas value.

By Aleksey · saved 13 July 2022 · run 11 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transactions(options: {asc: "block.timestamp.time"}, date: {since: $from, till: $till}) {
      block {
        timestamp{
        	time(format: "%y-%m-%d %H:00")
        }
      }
      gasPrice
      gasValue
      average: gasValue(calculate: average)
      maxGasPrice: gasPrice(calculate: maximum)
      medianGasPrice: gasPrice(calculate: median)
    }
  }
}

Variables

{"limit":10,"offset":0,"network":"ethereum","from":"2022-07-05","till":"2022-07-05T23:59:59","dateFormat":"%Y-%m-%d"}

Similar queries