POST /eth/v1/beacon/pool/bls_to_execution_changes

Submit SignedBLSToExecutionChange object to node's pool.

Submits to the node's pool a list of SignedBLSToExecutionChange objects. Any that make it through validation HAS to be shared with the network.

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

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

Parameters

FieldType

message

object

validator_index

string

from_bls_pubkey

string

to_execution_address

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 SignedBLSToExecutionChange object to node's pool.

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

Request Body

NameTypeDescription

message*

object

validator_index*

string

1

from_bls_pubkey*

string

0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a

to_execution_address*

string

0xabcf8e0d4e9587369b2301d0790347320302cc09

signature*

string

0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505

Bls to execution changes were all stored to the pool and broadcast on the appropriate subnet.

Curl Request example

curl -X 'POST' \
  'https://eth-holesky-beacon.blastapi.io/<project_id>/eth/v1/beacon/pool/bls_to_execution_changes' \
  -H 'accept: */*' \
  -H 'Content-Type: application/json' \
  -d '[
  {
    "message": {
      "validator_index": "1",
      "from_bls_pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a",
      "to_execution_address": "0xabcf8e0d4e9587369b2301d0790347320302cc09"
    },
    "signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
  }
]'

Last updated