Prepare Staking Transaction

Construct a serialized transaction to deposit the stake amount, utilizing the functionalities of P2P smart contract.

Body Params
string
required
^0x[a-fA-F0-9]{40}$

Withdrawal address for direct staking or EigenPodAddress for restaking.

depositData
array of objects
required
length between 1 and 400

Deposit data required for validator activation on the beacon chain.

depositData*
string
required
^0x[a-fA-F0-9]{96}$

Validator public key.

string
required
^0x[a-fA-F0-9]{192}$

Validator signature.

string
required
^0x[a-fA-F0-9]{64}$

Hash of the deposit data.

string

Public key of the withdrawal address.

number
1000000000 to 2048000000000

Per-validator deposit amount in gwei. Required when using 0x02 (CONSOLIDATED) withdrawal credentials. Ignored for 0x01 (EOA) — defaults to 32 ETH (32000000000 gwei). Must be between 1 ETH (1000000000 gwei) and 2048 ETH (2048000000000 gwei). All deposit data entries in a single batch MUST share the same amount.

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json