/eth/v1/validator/aggregate_attestation
Get aggregated attestation
Aggregates all attestations matching given attestation data root and slot
Query parameters
attestation_data_rootstringRequiredExample:
HashTreeRoot of AttestationData that validator wants aggregated
0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2
Pattern: ^0x[a-fA-F0-9]{64}$
slotstringRequiredExample:
1
Responses
200
Returns aggregated `Attestation` object with same `AttestationData` root.
application/json
400
Invalid request syntax.
application/json
404
Not found
application/json
500
Beacon node internal error.
application/json
get
GET /v1/<YOUR_API_KEY_HERE>//eth/v1/validator/aggregate_attestation HTTP/1.1
Host: mainnet.ethereum.validationcloud.io
Accept: */*
{
"data": {
"aggregation_bits": "0x01",
"signature": null,
"data": {
"slot": "1",
"index": "1",
"beacon_block_root": null,
"source": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"target": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
}
}
}
}
curl -X GET \
"https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/validator/aggregate_attestation?attestation_data_root=0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2&slot=1" \
-H "Content-Type: application/json"
Last updated
Was this helpful?