Utility
Get block heights
Commonly used to get all the block heights within a particular date range. Useful for rendering a display where you sort blocks by day.
GET
/
v1
/
{chainName}
/
block_v2
/
{startDate}
/
{endDate}
/
Credit Cost: 1 per call.
Processing: Realtime
Processing: Realtime
Path Parameters
The chain name eg: eth-mainnet
.
The start date in YYYY-MM-DD format.
The end date in YYYY-MM-DD format or latest
for the latest block available.
Query Parameters
Number of items per page. Omitting this parameter defaults to 100.
0-indexed page number to begin pagination.
Response
200 - application/json
The timestamp when the response was generated. Useful to show data staleness to users.
The requested chain ID eg: 1
.
The requested chain name eg: eth-mainnet
.
List of response items.
Pagination metadata.