Create Pectra Validators

Creates new 0x02 (PECTRA) validators and returns a unsigned staking transaction

Please refer to this legacy endpoint to create 0x01 validators here

Parameters

network

amounts

withdrawal_address

funding_address

fee_recipient_address

region

Response

201 Created Validators

data

data object
Example Response
{
  "data": [
    {
      "network": "hoodi",
      "pubkey": "0x8fc7b098767d6b45f431ac820f6884f6f74bbebee4e6f30456bbcf48a280248307a8260f2913a27c076f2f0c64c67aad",
      "status": "provisioned",
      "withdrawal_address": "0xE40F80618324C814cD444434670a44ba4583aE38",
      "withdrawal_credentials": "0x010000000000000000000000e40f80618324c814cd444434670a44ba4583ae38",
      "net_fee_payout_address": "0xE40F80618324C814cD444434670a44ba4583aE38",
      "fee_recipient_address": "0xE40F80618324C814cD444434670a44ba4583aE38",
      "region": "ca-central-1",
      "deposit_data": { /* deposit data fields */ },
      "status_history": { /* status history fields */ },
      "status_estimates": { /* status estimates fields */ }
    }
  ]
}

Example CURL Request

curl --request POST \
     --url https://api.figment.io/ethereum/validators/0x02 \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: your-api-key-here' \
     --data '{
  "network": "mainnet"
}'

Response Codes


Updated 4 days ago.