average gas cost
Returns transactions on Ethereum and Avalanche, where date since 2021-12-20 and date till 2022-01-18, sorted by date date: date date, gas price and gas value.
What it returns
- date date
- gas price
- gas value
Filters
- date since 2021-12-20
- date till 2022-01-18
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 in: USDT)
maxGasPrice: gasPrice(calculate: maximum)
medianGasPrice: gasPrice(calculate: median)
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "avalanche",
"from": "2021-12-20",
"till": "2022-01-18T23:59:59",
"dateFormat": "%Y-%m-%d"
}
Similar queries
- Avalanche — Latest transactions · Avalanche · Transactions
- avax_get_date_from_tx_hash · Avalanche · Transactions
- avalanche_fee_transactions · Avalanche · Transactions
- avalanche Gas value, used & USD value · Avalanche · Transactions
- avax balance · Avalanche · Address