Get aggregated attestation
Aggregates all attestations matching given attestation data root and slot
Parameters
Name | Required | Type | Detail |
---|---|---|---|
slot | ✅ | String (Query) | The slot for which attestation data should be created. |
attestation_data_root | ✅ | String (Query) | HashTreeRoot of AttestationData that validator wants aggregated |
Result
Return an attestation data
Example
Request
curl <your-endpoint>/eth/v1/validator/aggregate_attestation?slot=4805183&attestation_data_root=0xf9b349f2cb89567b6368bef95f023ab9c24a66f9920bfab1c09423512d8a635e
Return
On success
{
"data": {
"aggregation_bits": "0x01",
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505",
"data": {
"slot": "1",
"index": "1",
"beacon_block_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"source": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"target": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
}
}
}
}