Skip to main content

/eth/v1/beacon/states/:state_id:/finality_checkpoints

Get state finality checkpoints

Provides the state's finality checkpoints for the given'stateId'. Checkpoint should return epoch 0 and ZERO_HASH as root if finality has not yet been reached.

Example Request and Result for /v1/beacon/states/:state_id:/finality_checkpoints

In this section, we provide an illustrative example of a request made to retrieve details contents using the /v1/beacon/states/{state_id}/finality_checkpoints endpoint. Additionally, we present the resulting response containing information about state's finality checkpoints.

Parameters

FieldTypeDescription
state_id*string

State identifier.
Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <slot>, <hex encoded stateRoot with 0x prefix>.

Example : head

info

The example in this section uses a non-existing project id.

Make sure you replace it with your Ethereum Holesky Beacon endpoint when issuing the API calls.

Don't have a project id? Here's a straightforward guide on how to obtain one!

Curl Request example

curl -X 'GET' \
'https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/beacon/states/head/finality_checkpoint' \
-H 'accept: application/json'