get_closest_block
Retrieve the closest blockchain block for a specific timestamp using a chain identifier. Simplify timestamp-based block queries for crypto data analysis and retrieval.
Instructions
GET /coins/block/{chain}/{timestamp}
Get the closest block to a timestamp.
Parameters:
chain: chain identifier
timestamp: UNIX timestamp to find closest block for
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chain | Yes | ||
timestamp | Yes |
Input Schema (JSON Schema)
{
"properties": {
"chain": {
"title": "Chain",
"type": "string"
},
"timestamp": {
"title": "Timestamp",
"type": "integer"
}
},
"required": [
"chain",
"timestamp"
],
"title": "get_closest_blockArguments",
"type": "object"
}