[23 Sep onwards] Avalanche stats (tx,dau,gas price)
adapted from bitquery avax release document https://community.bitquery.io/t/avalanche-blockchain-apis/823
What it returns
- date date
- count
- gas value
- gas price
Filters
- date since 2022-09-23
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
txs: count
dau:count(uniq:senders)
averageGasCost_usdt: gasValue(calculate: average in: USDT) # avg gas cost in usdt
maxGasPrice: gasPrice(calculate: maximum)
medianGasPrice: gasPrice(calculate: median)
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "avalanche",
"from": "2022-09-23",
"till": null ,
"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