Blocks
Get block number by time or latest
Returns the block number and timestamp for a given datetime (using the block immediately before it) or the latest block when datetime is omitted.
get/get_block_number
Query parameters
chain_idstring required
The ID of the blockchain
datetimestring
ISO 8601 format (e.g., 2023-01-01T00:00:00Z)
Response
Block number information
Changes
Changed in 2 of the 15 revisions of this API.11
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲