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

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

slot_nointeger required

An absolut slot number.

header_hashstring required

A blake2b-256 hash digest of a block header.

Example response

{
  "slot_no": 51540727,
  "header_hash": "9d09...31bf"
}

Changes

No recorded changes to this operation across all 1 revision of this API.