/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

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!

Get state finality checkpoints

GET https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/beacon/states/<state_id>/finality_checkpoint

Path Parameters

NameTypeDescription

state_id*

String

head

{
  "execution_optimistic": true,
  "finalized": false,
  "data": {
    "previous_justified": {
      "epoch": "28373",
      "root": "0xbd44afa28e60554210beb7b48389d6fe9e1f806c2982f7d15141b76d44308bf6"
    },
    "current_justified": {
      "epoch": "28374",
      "root": "0x01b17a0b6e9db4636821b605f6d739b379615db07a762ae9b8c370d8ea5aebf0"
    },
    "finalized": {
      "epoch": "28373",
      "root": "0xbd44afa28e60554210beb7b48389d6fe9e1f806c2982f7d15141b76d44308bf6"
    }
  }
}

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'

Last updated