Finds and retrieves the details of the closest block to a given timestamp. The lookup can be directed to find the block immediately before or after the specified time.
(Optional) Enter your API key in the format: Bearer <api_key>. Providing an API key may grant higher rate limits or access to additional features. The API will function without an API key for basic access.
The Unix timestamp or ISO 8601 date string for block lookup.
"2023-11-07T05:31:56Z"
The name or ID of the blockchain.
ethereum
"ethereum"
Direction to look for the block relative to the timestamp.
before
, after
Successfully retrieved block details by timestamp.
The response is of type object
.