Skip to navigation

Stake ETH

This endpoint will begin the process of staking on an ethereum address

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 stake
providerobjectRequired
amountstringOptional

the amount (in wei) to stake. For '0x01' validators it must be a multiple of 32 ETH. For '0x02' validators any amount in [32, 2048] ETH is accepted; top-ups require at least 1 ETH and the validator's combined balance must stay under 2048 ETH.

gasLimitstringOptional
A target gas limit for the request. If not provided, one will be automatically computed.
gasPriceLimitstringOptional
A hard limit for the gas price for the request. If not provided, one will be automatically computed.
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.
withdrawalCredentialTypestringOptional

Ethereum withdrawal credential type. Accepted values: "0x01" (deprecated, legacy, rewards above 32 ETH are swept and do not compound), "0x02" (Pectra upgrade, rewards auto-compound, max effective balance 2048 ETH, only this should be used). Defaults to "0x01" for figment and "0x02" for p2p. p2p only supports "0x02".

ethValidatorIDstringOptional

Only in case of top-ups specify the validatorId to top-up. If no validator is specified a new one is created instead. Top-ups are only compatible with "0x02" withdrawal credentials validators.

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