GET
/
v1
/
chains
/
{chainId}
/
blocks
/
{blockId}

Authorizations

x-glacier-api-key
string
header
required

Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.

Path Parameters

chainId
string
required

A supported evm chain id or blockchain id. Use the /chains endpoint to get a list of supported chain ids.

blockId
string
required

A block identifier which is either a block number or the block hash.

Response

200 - application/json
baseFee
string
required

The base gas fee for a transaction to be included in the block.

blockHash
string
required

The block hash identifier.

blockNumber
string
required

The block number on the chain.

blockTimestamp
number
required

The block finality timestamp.

chainId
string
required

The EVM chain ID on which the block was created.

cumulativeTransactions
string
required

The cumulative number of transactions for the chain including this block.

feesSpent
string
required

The amount of fees spent/burned for transactions in the block.

gasCost
string
required
gasLimit
string
required

The total gas limit set for transactions in the block.

gasUsed
string
required

The gas used for transactions in the block.

parentHash
string
required

The hash of the parent block.

txCount
number
required

The number of evm transactions in the block.