Skip to main content

post-eth-v1-beacon-pool-proposer_slashings


POST /eth/v1/beacon/pool/proposer_slashings

Submit ProposerSlashings object to node's pool.

Sends ProposerSlashing object to node pool; node MUST publish it to network if validation is successful.

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

In this section, we provide an illustrative example of a request made to retrieve details contents using the _/v1/beacon/pool/proposer_slashings_endpoint. Additionally, we present the resulting response containing information about submitting ProposerSlashing object to node's pool.

Parameters

FieldType
signed_header_#object
messageobject
slotstring
proposer_indexstring
parent_rootstring
state_rootstring
body_rootstring
signaturestring
info

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!

Submit ProposerSlashings object to node's pool.

POST https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/beacon/pool/proposer_slashings

Request Body

NameTypeDescription
signed_header_1*object
message*string
slot*string1
proposer_index*string1
parent_root*string0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2
state_root*string0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2
body_root*string0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2
signature*string0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505

Success

Curl Request example

curl -X 'POST' \
'https://eth-holesky-beacon.blastapi.io/<project_id>/eth/v1/beacon/pool/proposer_slashings' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-d '{
"signed_header_1": {
"message": {
"slot": "1",
"proposer_index": "1",
"parent_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"state_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"body_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
},
"signed_header_2": {
"message": {
"slot": "1",
"proposer_index": "1",
"parent_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"state_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"body_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
}
}'