etheruem gas

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

By gaurav · saved 12 July 2022 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $dateFormat: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transactions(options: {asc: "date.date"}, date: {since: $from, till: $till}) {
      date: date {
        date(format: $dateFormat)
      }
      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-12T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries