Withdrawal Transaction

Withdraw ETH from a Validator

Withdraw ETH from a validator using the execution layer. Must be signed by the validator's withdrawal address. Make sure to adhere to withdrawal eligibility before performing partial withdrawals transaction.

Parameters

Example

Create Withdrawal Transaction

{
  "network": "mainnet"
}

Response

Success (201 Created)

{
  "data": {
    "network": "string",
    "signing_payload": "string",
    "unsigned_transaction_serialized": "string",
    "contract_call_data": "string"
  }
}

Error (400 Bad Request)

{
  "error": "Bad Request"
}

Curl Command

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

Updated 3 months ago