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

Authorizations

x-glacier-api-key
string
headerrequired

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
blockNumber
string
required

The block number on the chain.

blockTimestamp
number
required

The block finality timestamp.

blockHash
string
required

The block hash identifier.

txCount
number
required

The number of evm transactions in the block.

baseFee
string
required

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

gasUsed
string
required

The gas used for transactions in the block.

gasLimit
string
required

The total gas limit set for transactions in the block.

gasCost
string
required
parentHash
string
required

The hash of the parent block.

feesSpent
string
required

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

cumulativeTransactions
string
required

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