Produce a sync committee contribution
Requests that the beacon node produce a sync committee contribution.
Parameters
Name | Required | Type | Detail |
---|---|---|---|
slot | ✅ | String (Query) | The slot for which a sync committee contribution should be created. |
subcommittee_index | ✅ | String (Query) | the subcommittee index for which to produce the contribution. |
beacon_block_root | ✅ | String (Query) | the block root for which to produce the contribution. |
Result
Returns sync committee contribution info
Example
Request
curl <your-endpoint>/eth/v1/validator/sync_committee_contribution?slot=1&subcommittee_index=1&beacon_block_root=0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2
Return
On success
{
"data": {
"slot": "1",
"beacon_block_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"subcommittee_index": "1",
"aggregation_bits": "0x01",
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
}
}