Coste del gas

Returns transactions on Ethereum and BNB Chain, where date since 2021-05-10 and date till 2021-05-13, sorted by date date: date date, gas price and gas value.

By David · saved 13 May 2021 · 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":"bsc","from":"2021-05-10","till":"2021-05-13T23:59:59","dateFormat":"%Y-%m-%d"}

Similar queries