The Blockdaemon Staking API enables custodians and crypto-savvy traders to use a standardized and trusted API. This automates transaction signing and enables the scaling of the solution over time.
Our Ethereum API enables you to completely outsource the process of operating Ethereum validators while retaining full custody of the withdrawal address of the created validators. Blockdaeamon maintains a pool of already provisioned validators, so all API responses are immediate and the clients can obtain and sign a staking transaction within milliseconds. A single transaction can create up to 250 validators, improving convenience while also bringing significant gas cost reductions.
The Staking API supports for the following Ethereum networks:
- Ethereum Mainnet
- Goerli/Prater testnet
In this section you will find a typical user journey for interacting with the Ethereum Staking API:
- Account Setup
- Staking ETH
- Accruing Rewards
- Withdrawing Your Funds by Exiting Validators
1. Account Setup
During the creation of your Staking API account, you'll be asked to provide an Ethereum address that will be used as fee recipient and withdrawal address for all created validators. You may also be asked to provide other preferences such as choice of MEV provider, data center where the Ethereum nodes will be running, the size of the pool of pre-provisioned validators and others.
2. Staking ETH
Staking on mainnet and Goerli/Prater testnet is initiated through the Post Stake Intent endpoint. The endpoint returns an unsigned transaction that must be signed and broadcast to the network by the account, providing the funds for staking. Through the use of the Blockdaemon Batch Deposit contract, a single transaction can create multiple Ethereum validators with significant gas cost savings.
Obtaining a launchpad deposit file (optional)
If your prefer to execute the deposits through the official Ethereum Launchpad web-site or through direct interaction with the validator deposit smart contract, you can obtain a standard launchpad deposit data file through the Generate an Ethereum Launchpad Deposit Fileendpoint.
Please note that using a launchpad deposit file would require you to sign and broadcast a separate deposit transaction for each created validator which is less convenient and more costly than using the Blockdaemon batch deposit contract.
3. Accruing Rewards
All revenue from validating, transaction fees and MEV commission will be automatically and continuously transferred to your specified withdrawal address without requiring any user interaction. If desired, Blockdaemon will notify you when enough funds have accumulated for the creation of additional Ethereum validators to help you achieve the most efficient auto-compounding for your staking investment.
4. Withdrawing Your Funds by Exiting Validators
The Exit Ethereum Validator endpoint generates and broadcasts the exit transaction to the network.
The Generate a Signed Voluntary Exit Message generates the exit transaction but does not broadcast it to the network. Instead, the signed exit transaction is returned as part of the response.