curl --request GET \
--url https://glacier-api.avax.network/v1/chains/allBlocks \
--header 'x-glacier-api-key: <api-key>'{
"blocks": [
{
"chainId": "<string>",
"blockNumber": "<string>",
"blockTimestamp": 123,
"blockHash": "<string>",
"txCount": 123,
"baseFee": "<string>",
"gasUsed": "<string>",
"gasLimit": "<string>",
"gasCost": "<string>",
"parentHash": "<string>",
"feesSpent": "<string>",
"cumulativeTransactions": "<string>"
}
],
"nextPageToken": "<string>"
}[Deprecated] Lists the latest blocks for all supported EVM chains. Filterable by network.
⚠️ This operation will be removed in a future release. Please use /v1/blocks endpoint instead .
curl --request GET \
--url https://glacier-api.avax.network/v1/chains/allBlocks \
--header 'x-glacier-api-key: <api-key>'{
"blocks": [
{
"chainId": "<string>",
"blockNumber": "<string>",
"blockTimestamp": 123,
"blockHash": "<string>",
"txCount": 123,
"baseFee": "<string>",
"gasUsed": "<string>",
"gasLimit": "<string>",
"gasCost": "<string>",
"parentHash": "<string>",
"feesSpent": "<string>",
"cumulativeTransactions": "<string>"
}
],
"nextPageToken": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://developers.avacloud.io/llms.txt
Use this file to discover all available pages before exploring further.
Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.
A page token, received from a previous list call. Provide this to retrieve the subsequent page.
The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1 <= x <= 100Either mainnet or testnet/fuji.
mainnet, fuji, testnet Was this page helpful?