Skip to main content
Shared ETH Staking enables users to stake with any amount of ETH. See the quickstart to familiarize yourself with Coinbase Staking API and basic usage.
Currently, Shared ETH staking only supports addresses used with the Coinbase Staking API specifically.Coinbase App addresses and Coinbase Prime addresses are not supported.
The supported staking model uses an address model where the private keys are not managed by the Coinbase SDK, referred to as External Address in the CDP SDK. Developers are responsible for managing their own wallets. All signing operations must be completed off-platform.

Stake

To stake, ensure that the external address contains enough ETH on the network you are using to cover the stake amount and network transaction fees. To fund your Hoodi testnet address with ETH, the SDK provides a faucet method.
Once the stake operation has been built, relay the transactions to your end-user for signing and broadcasting. Refer to the Signing and Broadcasting Transactions section for an Ethers.js example. Refer to the ExternalAddress documentation for a full list of supported methods.

Unstake

Unstake is the first part of a two-step process to withdraw your staked assets. This step involves submitting an exit request to the network. Processing time varies based on the unstake request volume on the shared ETH staking pool. In periods of high demand, wait times follow the native Ethereum validator exit queue — check validatorqueue.com (see Exit Queue Wait) for current estimates.
Once the unstake operation has been built, relay the transactions to your end-user for signing and broadcasting. Refer to the Signing and Broadcasting Transactions section for an Ethers.js example. Refer to the ExternalAddress documentation for a full list of supported methods.

Claim Stake

Once your exit request has been processed by the network you may proceed with the Claim Stake method below.
Once the claim stake operation has been built, relay the transactions to your end-user for signing and broadcasting. Refer to the Signing and Broadcasting Transactions section for an Ethers.js example. Refer to the ExternalAddress documentation for a full list of supported methods.

View Staking Rewards

After staking your ETH, reward will begin to accrue on your address. These rewards can be listed via the stakingRewards call. Refer to the StakingRewards documentation for an explanation of the method’s parameters. Look up staking rewards for a specific address.

Signing and Broadcasting Transactions

Here’s an example of how to sign and broadcast transactions surfaced via the staking operation resource.