Blocks
List latest blocks
Lists the latest indexed blocks on the EVM-compatible chain sorted in descending order by block timestamp.
GET
/
v1
/
chains
/
{chainId}
/
blocks
Authorizations
x-glacier-api-key
string
headerrequiredApi 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
requiredA supported evm chain id or blockchain id. Use the /chains
endpoint to get a list of supported chain ids.
Query Parameters
pageToken
string
A page token, received from a previous list call. Provide this to retrieve the subsequent page.
pageSize
integer
default: 10The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
Required range:
1 < x < 100
Response
200 - application/json
blocks
object[]
requirednextPageToken
string
A token, which can be sent as pageToken
to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
Was this page helpful?