Skip to main content

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


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

Get sync committee duties

Requests the beacon node to provide a set of sync committee duties for a particular epoch.

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

Parameters

FieldsTypeDescription

epoch*

string

epoch // EPOCHS_PER_SYNC_COMMITTEE_PERIOD <= current_epoch // EPOCHS_PER_SYNC_COMMITTEE_PERIOD + 1

request body:array<json>An array of the validator indices for which to obtain the duties.
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*string1
{
"execution_optimistic": false,
"data": [
{
"pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a",
"validator_index": "1",
"validator_sync_committee_indices": [
"1"
]
}
]
}

Curl Request example

curl -X 'POST' \
'https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/validator/duties/sync/1' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '[
"1"
]'