v1

latestOpenAPI 3.1.02026-07-1288262495.0 KB
EVM 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

Path parameters

chainIdstring required

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

Query parameters

pageTokenstring

A page token, received from a previous list call. Provide this to retrieve the subsequent page.

pageSizeinteger

The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.

Response

Successful response

nextPageTokenstring

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.

Example response

{
  "blocks": [
    {
      "chainId": "43114",
      "blockNumber": "339",
      "blockTimestamp": 1648672486,
      "blockTimestampMilliseconds": 1648672486000,
      "blockMinDelayExcess": 7477290,
      "blockHash": "0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c"
    }
  ]
}