v1

latestOpenAPI 3.1.02026-07-2612501.4 MB

GetBeaconLightClientBootstrapByBlockRoot

Get LightClientBootstrap structure for a requested block root.

Requests the LightClientBootstrap structure corresponding to a given post-Altair beacon block root. Depending on the Accept header it can be returned either as JSON or SSZ-serialized bytes.

Servers SHOULD provide results as defined in create_light_client_bootstrap. To fulfill a request, the requested block's post state needs to be known.

get/{apiKey}/eth/v1/beacon/light_client/bootstrap/{blockRoot}

Path parameters

apiKeystring required
<style> .custom-style { color: #048FF4; } </style>

For higher throughput, please <span class="custom-style"><a href="../docs/quick-start-guide#-creating-your-api-key-on-the-zan-platform" target="_blank">create your own API key</a></span>.

blockRootstring hex required
Example:0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2

Block root. <hex encoded blockRoot with 0x prefix>.

Response

Bootstrap structure

version'phase0' | 'altair' | 'bellatrix' | 'capella' | 'deneb' required

Example response

{
  "version": "phase0",
  "data": {
    "header": {
      "beacon": {
        "slot": "1",
        "proposer_index": "1",
        "parent_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
        "state_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
        "body_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
      }
    },
    "current_sync_committee": {
      "pubkeys": [
        "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a"
      ],
      "aggregate_pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a"
    },
    "current_sync_committee_branch": [
      "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
    ]
  }
}