Checkpoints
Get Checkpoint By Slot
Retrieve a checkpoint by its (absolute) slot number. The query is flexible by default. Meaning that, if there's no checkpoint at the given slot, the server will for for the closest (i.e. most recent) slot that is before the provided slot number. This is particularly useful to find ancestors to known slots in order to use them for references on-chain.
get/checkpoints/{slot-no}
Request
- Base URLhttp://localhost:1442
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
slot_nointeger required
Query parameters
A query flag (i.e. ?strict) to only look for checkpoints that strictly match the provided slot. The behavior otherwise is to look for the largest nearest slot smaller or equal to the one provided.
Response
OK
Example response
{
"slot_no": 51540727,
"header_hash": "9d09...31bf"
}Changes
No recorded changes to this operation across all 1 revision of this API.