Skip to navigation
TRANSFERS AND STAKINGRequests

Create an ETH unstake request

This endpoint will create an ETH unstake request

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
fromAddressIdstringRequiredformat: "uint64"
the ID of the address to unstake
amountstringRequired

Amount to unstake in wei. For EIP-7002 withdrawals, must be a multiple of 1 Gwei (1e9 wei). For legacy withdrawals, must be a multiple of 32 ETH (32e18 wei). In both cases leave empty or set to 0 to withdraw the full balance and trigger a full validator exit

ethValidatorIDslist of stringsOptional

List of ETH validator internal IDs to unstake. For legacy withdrawals, optional — multiple validators can be specified. For EIP-7002 withdrawals, exactly one validator ID must be provided.

commentstringOptional
A reconciliation notes can be given when initiating a request and this will be included in transaction history.
externalRequestIdstringOptional
Identifier for the request in the user's system. This must be unique.
gasLimitstringOptional
A target gas limit for the request. If not provided, one will be automatically computed. Only applies to 'EIP7002' unstake method.
gasPriceLimitstringOptional
A hard limit for the gas price for the request. If not provided, one will be automatically computed. Only applies to 'EIP7002' unstake method.
contractFeeLimitstringOptional

Max fee in wei paid to the EIP-7002 withdrawal contract's dynamic anti-spam mechanism. Leave empty to use the default fee, which is sufficient in almost all cases. Only increase if a withdrawal is stuck due to contract congestion and must execute urgently. Ignored for legacy withdrawals.

unstakeMethodstringOptional

Withdrawal method to use. 'EIP7002' uses the Pectra on-chain withdrawal contract triggered from the execution layer and is the recommended method. 'LEGACY' uses pre-Pectra signed exit messages and is deprecated. Defaults to LEGACY if not specified.

Response

A successful response.
resultobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error