v1
latestOpenAPI 3.1.02026-07-2612501.4 MBGetValidatorAttestationData
Produce an attestation data.
Requests that the beacon node produce an AttestationData.
A 503 error must be returned if the block identified by the response beacon_block_root is optimistic (i.e. the attestation attests to a block that has not been fully verified by an execution engine).
get/{apiKey}/eth/v1/validator/attestation_data
Path parameters
apiKeystring required
<style>
.custom-style {
color: #048FF4;
}
</style>
For higher throughput, please <span class="custom-style"><a href="../docs/quick-start-guide#-creating-your-api-key-on-the-zan-platform" target="_blank">create your own API key</a></span>.
Query parameters
slotstring required
Example:1
The slot for which an attestation data should be created.
committee_indexstring required
Example:1
The committee index for which an attestation data should be created.
Response
Success response
Example response
{
"data": {
"slot": "1",
"index": "1",
"beacon_block_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"source": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"target": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
}
}
}