Avalanche — Latest blocks
The most recent blocks on Avalanche, with height, time, gas used and transaction count.
What it returns
- height
- timestamp time
- transaction count
- gas used
- miner address
The query
# Avalanche - Blocks & Validators - Latest blocks
#
# Bitquery V1 query - send it to https://graphql.bitquery.io. The V2 endpoint
# does not serve this chain.
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
{
ethereum(network: avalanche) {
blocks(options: {limit: 10, desc: "height"}) {
height
timestamp { time(format: "%Y-%m-%d %H:%M:%S") }
transactionCount
gasUsed
miner { address }
}
}
}
Similar queries
- avalanche query using transfers · Avalanche · Blocks
- avalanche query · Avalanche · Blocks
- avalanche-block-before-timestamp · Avalanche · Blocks
- avalanche-address-balances-at-height · Avalanche · Blocks
- Avalanche_historicalBalance · Avalanche · Address