/eth/v1/validator/duties/proposer/{epoch}
Get block proposers duties
Request beacon node to provide all validators that are scheduled to propose a block in the given epoch. Duties should only need to be checked once per epoch, however a chain reorganization could occur that results in a change of duties. For full safety, you should monitor head events and confirm the dependent root in this response matches:
- event.current_duty_dependent_root when
compute_epoch_at_slot(event.slot) == epoch
- event.block otherwise
The dependent_root value is get_block_root_at_slot(state, compute_start_slot_at_epoch(epoch) - 1)
or the genesis block root in the case of underflow.
Path parameters
epochstringRequiredExample:
1
Responses
200
Success response
application/json
400
Invalid epoch
application/json
500
Beacon node internal error.
application/json
503
Beacon node is currently syncing, try again later.
application/json
get
GET /v1/<YOUR_API_KEY_HERE>//eth/v1/validator/duties/proposer/{epoch} HTTP/1.1
Host: mainnet.ethereum.validationcloud.io
Accept: */*
{
"dependent_root": null,
"execution_optimistic": null,
"data": [
{
"pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a",
"validator_index": null,
"slot": null
}
]
}
curl -X GET \
"https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/validator/duties/proposer/1" \
-H "Content-Type: application/json"
Last updated
Was this helpful?