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_slashingsendpoint. Additionally, we present the resulting response containing information about submitting ProposerSlashing object to node's pool.

Parameters

FieldType

signed_header_#

object

message

object

slot

string

proposer_index

string

parent_root

string

state_root

string

body_root

string

signature

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!

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*

string

1

proposer_index*

string

1

parent_root*

string

0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2

state_root*

string

0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2

body_root*

string

0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2

signature*

string

0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505

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"
  }
}'

Last updated