Polygon Gas Value

Returns transactions on Ethereum and Polygon, where date since 2021-06-02 and date till 2021-12-09, sorted by date date: date date, gas price and gas value.

By gaurav · saved 9 June 2022 · run 2 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": "matic",
  "from": "2021-06-02",
  "till": "2021-12-09T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries