Skip to main content

POST /eth/v1/validator/duties/sync/{epoch}


POST /eth/v1/validator/duties/sync/:epoch:

Get sync committee duties.

Requests a set of sync committee responsibilities for a specific epoch from the beacon node.

Example Request and Result for /v1/validator/duties/sync/:epoch:

In this section, we provide an illustrative example of a request made to retrieve details contents using the /v1/validator/duties/sync/{epoch} endpoint. Additionally, we present the resulting response containing information about the sync committee duties.

Parameters

FieldTypeDescription
epoch*stringShould only be allowed 1 epoch ahead
epoch // EPOCHS_PER_SYNC_COMMITTEE_PERIOD <= current_epoch // EPOCHS_PER_SYNC_COMMITTEE_PERIOD + 1
info

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 sync committee duties.

POST https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/validator/duties/sync/{epoch}

Path Parameters

NameTypeDescription
epoch*string2
{
"execution_optimistic": false,
"data": [
{
"pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a",
"validator_index": "1",
"validator_sync_committee_indices": [
"1"
]
}
]
}

Curl Request example

curl -X 'POST' \
'https://eth-mainnet.blastapi.io/8d6c422d-ca86-40ab-aef0-851d99eb70a3/eth/v1/validator/duties/sync/2' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '[
"1"
]'