v1

latestOpenAPI 3.1.0MIT2026-07-1716328.3 KB
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

data_descriptionstring[] nullable

Optional list of strings explaining the structure or fields of the data payload

notesstring[] nullable

Optional list of important warnings or contextual notes, such as data truncation alerts

instructionsstring[] nullable

Optional list of suggested follow-up actions for an AI agent