eth-v1-beacon-light_client-optimistic_update
eth/v1/beacon/light_client/optimistic_update
Get the latest known 'LightClientOptimisticUpdate'.
Asks for the most recent LightClientOptimisticUpdate that the server is aware of. Either JSON or SSZ-serialized bytes may be returned, depending on the Accept header.
Results as specified in create_light_client_optimistic_update MUST be provided by servers.
Example Request and Result for /v1/beacon/light_client/optimistic_update
In this section, we provide an illustrative example of a request made to retrieve details contents using the /v1/beacon/light_client/optimistic_update
endpoint. Additionally, we present the resulting response containing information about the latest known client optimistic update.
Parameters
- none
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 the latest known 'LightClientOptimisticUpdate'.
GET
https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/beacon/light_client/optimistic_update
- 200: OK Expand for a detailed response example
{
"version": "capella",
"data": {
"attested_header": {
"slot": "936612",
"proposer_index": "390412",
"parent_root": "0xc67d77ed851db17c0b8a7ed8789019c469a874c90750606482fdce3ea1c01b2e",
"state_root": "0x007594a59a2f4e5c8bef268e304fee4459bf640f578bf09706ce9978d1cdbba6",
"body_root": "0xf8c625e6d7624bade8d39792f68e11f7c0a2db844a0f6e289696fe2dfe4228d8"
},
"next_sync_committee": null,
"finalized_header": {
"slot": "0",
"proposer_index": "0",
"parent_root": "0x",
"state_root": "0x",
"body_root": "0x"
},
"sync_aggregate": {
"sync_committee_bits": "0xfffeabfdffdffebafeefb7ffbfff6bbfef7fda7efffd5fbff3dbfdd3ddfeffff3bb2eff77fb7ebeffddefeedeefdfddd00200000000040000080000000040000",
"sync_committee_signature": "0xb1ffd32ce1e3308e6a67c725c44e45de78c945ff280d327bcda268de23f90eac21b8e21472fff6d542e58998405c428f0646783c15047aef8c332db4e0aaf1c646fbc3026ebe1f4c75d7d36ff6cb86e3154c516da4ca22d414f813a146edd749"
},
"next_sync_committee_branch": null,
"finality_branch": null,
"signature_slot": "936613"
}
}
Curl Request example
curl -X 'GET' \
'https://eth-holesky-beacon.blastapi.io/<project_id>/eth/v1/beacon/light_client/optimistic_update' \
-H 'accept: application/json'