Overview and setup for Blockdaemon Solana Staking API.
The Solana Staking API offers an end-to-end solution for staking without running Solana clients or nodes. Transaction signing is the only requirement, introducing minimal additional dependencies to your technology stack. It simplifies staking operations, including nonce account management, and removes time constraints for secure execution using multi-sig wallets.
For incremental staking, the API handles multiple stake accounts and simplifies deactivation and withdrawal. Specify the withdrawal amount, and the API manages deactivation and splitting operations. Our advanced bookkeeping and transaction lifecycle tracking prevent conflicts within your organization's sub-teams during ongoing deactivation and withdrawal operations.
Supported Networks
The Staking API supports the following Solana networks:
- Mainnet
- Testnet
How to Use the Solana Staking API
1. How to Stake
Initiate Solana staking via the Post Stake Intent endpoint.
This returns an unsigned transaction, which the account that delegates funds to the specified validator in the request must sign and broadcast to the network.
2. How to Request Deactivation of Staking Intent
You can request the deactivation of transactions against available addresses.
The Deactivation Intent endpoint automatically selects stake addresses to deactivate for request fulfilment. The API returns two sets of transactions: splitting transactions and deactivation transactions. Sign and broadcast splitting transactions before deactivating them.
3. How to Withdrawal a Stake Intent
Note
Remember that staked tokens must be deactivated before withdrawal.
The Post Withdrawal Intent endpoint requests withdrawal transactions executed against available deactivated accounts.
If more funds are requested than currently unlocked, the API returns an error indicating the maximum possible withdrawal. You will receive at least one unsigned transaction (potentially multiple) requiring signing to complete the withdrawal.
👋 Need Help?
Contact us through email or our support page for any issues, bugs, or assistance you may need.