/eth/v1/validator/beacon_committee_subscriptions

Signal beacon node to prepare for a committee subnet

After beacon node receives this request, search using discv5 for peers related to this subnet and replace current peers with those ones if necessary If validator is_aggregator, beacon node must:

  • announce subnet topic subscription on gossipsub
  • aggregate attestations received on that subnet

Parameters

POST JSON Body

NameRequiredTypeDetail
Array[Object]JSON Object containing validator_index, committee_index, committee_at_slot, slot, is_aggregator. Please see the example

Result

Returns the HTTP Status Code 200 when the slot signature is valid and the beacon node has prepared the attestation subnet.

Note that we cannot be certain the Beacon node will find peers for that subnet for various reasons.

Example

Request

curl -X POST <your-endpoint>/eth/v1/validator/beacon_committee_subscriptions \
--header 'Content-Type: application/json' \
--data-raw '[
  {
    "validator_index": "1",
    "committee_index": "1",
    "committees_at_slot": "1",
    "slot": "1",
    "is_aggregator": true
  }
]'

Return

On success

<empty> with HTTP Code 200