Blocks by Timestamp
Fetches the first block before or after a given timestamp. Returns the block’s number and on-chain timestamp.
Path parameters
apiKey
For higher throughput, create your own API key
Headers
Authorization
Query parameters
networks
Array of networks to query on. The response will be an array with one block per network. Find network enums here
timestamp
Unix or ISO timestamp
direction
Return the first block “BEFORE” or “AFTER” the provided timestamp
Allowed values:
Response
Successful response
data
List of blocks