v1

latestOpenAPI 3.1.02026-07-2612501.4 MB

GetBeaconLightClientOptimisticUpdate

Get the latest known LightClientOptimisticUpdate.

Requests the latest LightClientOptimisticUpdate known by the server. 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_optimistic_update.

get/{apiKey}/eth/v1/beacon/light_client/optimistic_update

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>.

Response

Light client finality update

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

Example response

{
  "version": "phase0",
  "data": {
    "attested_header": {
      "beacon": {
        "slot": "1",
        "proposer_index": "1",
        "parent_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
        "state_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
        "body_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
      }
    },
    "sync_aggregate": {
      "sync_committee_bits": "0x01",
      "sync_committee_signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
    },
    "signature_slot": "1"
  }
}