Skip to main content

/eth/v1/beacon/light_client/bootstrap/{block_root}


/eth/v1/beacon/light_client/bootstrap/:block_root:

Get 'LightClientBootstrap' structure for a requested block root.

Returns the LightClientBootstrap structure for a post-Altair beacon block root that is supplied. Either JSON or SSZ-serialized bytes may be returned, depending on the Accept header.

Results as specified in create_light_client_bootstrap SHOULD be provided by servers. The post state of the requested block must be known in order to complete a request.

Example Request and Result for /v1/beacon/light_client/bootstrap/:block_root:

In this section, we provide an illustrative example of a request made to retrieve details contents using the /v1/beacon/light_client/bootstrap/{block_root} endpoint. Additionally, we present the resulting response containing information about the bootstrap structure for a block root.

Parameters

Field

Type

Description

block_root*

stringBlock root. <hex encoded blockRoot with 0x prefix>.
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!

Get 'LightClientBootstrap' structure for a requested block root.

GET https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/beacon/light_client/bootstrap/<block_root>

Path Parameters

NameTypeDescription
block_root*string0x98de51e16d498beb3ba78c30b3083f72e229ceeac2b74cd7f8383c062d08b1a0
{
"version": "capella",
"data": {
"header": {
"slot": "935519",
"proposer_index": "48486",
"parent_root": "0xfd3947a80ade553abbb3d4a8febf24c81e485bc2d0d5600d48c0409242931070",
"state_root": "0x6755c02465e3386e34a795f1d84692ddfb220e467faf54f6137b30be69cd3222",
"body_root": "0xe401ec08c3479d2cf37866b2e91f871096a9f766d63c150404cc614da54c17df"
},
"current_sync_committee": {
"pubkeys": [
"0xb38285db9e72327fcc06bfdbbd08f3d1d747ace2dc387e3c3f1674cffbbc5a2823f2d6d0130afcf8e710dfbc6af239d7",
"0x8daa645d9adad8b513d55ae1c0d09f293f766438777b2fba49e4bbc0a50a176a211b1f9e132d260beaac09f3d5bda1f4",
......
],
"aggregate_pubkey": "0xb05ca0474c05ff907732042fb0f8fffd687622cc43a00f48873c376dc8f3db35eb3121b8b116ce8e18c64ed8230bac06"
},
"current_sync_committee_branch": [
"0xd5b63d142d685798aa92a27ce328c0cf44d36ebf54046de209e66dca1784dd9c",
"0x45f8b8fd37ac169fe019f9b08d47c2288c06a666467bf7303d60a90851644185",
"0xcdc61f188e2161bd0b54e8b62111d613df2081fefc89a69e8fdf7363f5af94ce",
"0x85c61a5b02ec0bbe9cc1fd9703d04b0b54d09e35ba9cca41b043f0dbda918614",
"0x9f4af07774de2897ef556e3dec81c1d5beb86554ba582b11157e9b518bd373cc"
]
}
}

Curl Request example

curl -X 'GET' \
'https://eth-holesky-beacon.blastapi.io/<project_id>/eth/v1/beacon/light_client/bootstrap/0x98de51e16d498beb3ba78c30b3083f72e229ceeac2b74cd7f8383c062d08b1a0' \
-H 'accept: application/json'