/eth/v1/validator/sync_committee_subscriptions

Subscribe to sync committee subnets

Subscribe to a number of sync committee subnets

Sync committees are not present in phase0, but are required for Altair networks.

Subscribing to sync committee subnets is an action performed by VC to enable network participation in Altair networks, and only required if the VC has an active validator in an active sync committee.

Parameters

POST JSON Body

NameRequiredTypeDetail
Array[Object]JSON Object containing validator_index, sync_committee_indices, until_poch. Please see the example

Result

Returns the HTTP Status Code 200 when the subscription is successful

Example

Request

curl -X POST <your-endpoint>/eth/v1/validator/sync_committee_subscriptions \
--header 'Content-Type: application/json' \
--data-raw '[
  {
    "validator_index": "1",
    "sync_committee_indices": [
      "1"
    ],
    "until_epoch": "1"
  }
]'

Return

On success

<empty> with HTTP Code 200