Links

POST /eth/v1/beacon/pool/attestations

Submit Attestation object to node.
Sends items bearing attestation to the node. In the request body, each attestation is handled separately.
The node MUST post the verified attestation on the relevant subnet if it is validated successfully.
The node MUST return a 400 error including information about which attestations failed and why if one or more attestations fail validation.

Example Request and Result for /v1/beacon/pool/attestations

In this section, we provide an illustrative example of a request made to retrieve details contents using the /v1/beacon/pool/attestations endpoint. Additionally, we present the resulting response containing information about sending the attestation object tot node.

Parameters

Field
Type
aggregation_bits
string
signature
string
data
object
slot
string
index
string
beacon_block_root
string
source
object
epoch
string
root
string
target
object
epoch
string
root
string
The example in this section uses a non-existing project id.
Make sure you replace it with your Ethereum Holesky Beacon endpoint when issuing the API calls.
Don't have a project id? Here's a straightforward guide on how to obtain one!
post
https://eth-holesky-beacon.blastapi.io/<project-id>/
eth/v1/beacon/pool/attestations
Submit Attestation object to node.
Parameters
Body
aggregation_bits*
string
0x01
signature*
string
0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505
data*
oject
slot*
string
1
index*
string
1
beacon_block_root*
string
0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2
source*
object
epoch*
string
1
root*
string
0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2
target*
object
epoch*
string
1
root*
string
0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2
Responses
200: OK
Expand for a detailed response example

Curl Request example

curl -X 'POST' \
'https://eth-holesky-beacon.blastapi.io/ed4f817a-c186-4c70-9b97-45e0c138107d/eth/v1/beacon/pool/attestations' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-d '[
{
"aggregation_bits": "0x01",
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505",
"data": {
"slot": "1",
"index": "1",
"beacon_block_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"source": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"target": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
}
}
}
]'