Overview and setup for Blockdaemon Polkadot Staking API.
The Polkadot Staking API provides an end-to-end staking solution that eliminates the need for running Polkadot clients or nodes. The process only requires transaction signing, introducing minimal additional dependencies to your technology stack.
Our advanced solution for managing validator nominations ensures industry-leading returns on your investments, requiring no extra effort from your end. Through advanced bookkeeping and transaction lifecycle tracking, your organization's sub-teams can prevent conflicts when creating ongoing deactivation and withdrawal operations.
Supported Networks
The Blockdaemon Staking API supports the following Polkadot networks:
- Mainnet
- Westend
Account Types
Stash Account
A stash account holds DOT in cold storage for staking and is linked to a proxy account for nominations. The proxy manages funds within the stash account. This setup requires a bond transaction signed by the stash account. Direct staking operations with the stash account are discouraged due to the need for it to be stored in hot storage, increasing its vulnerability to compromise and potential fund loss.
Proxy Account
Blockdaemon manages validator nominations through a proxy account. Customers authorize this proxy by signing a transaction with their stash account.
The proxy account possesses limited capabilities and can't directly withdraw or manage stash account funds, except for staking or unstaking them. This design ensures that even if the proxy account is compromised, the customer's stash account funds remain secure.
Note
Binding your stash account to the Blockdaemon proxy allows Blockdaemon to nominate validators and handle staking tasks. You can revoke this access anytime, but you will then be fully responsible for managing your staking.
How to Use The Polkadot Staking API
1. How to Stake
Use the Post Stake Intent endpoint to start staking. This returns an unsigned transaction that you need to sign and broadcast. Blockdaemon will then manage and optimize your nominations for the best rewards.
2. How to Request Deactivation of Staking Intent
Use the Post Deactivation Intent endpoint. It returns an unsigned transaction to remove a specified amount from your staked DOT. If no amount is specified, it will default to removing all staked DOT. This will occur when the user signs and broadcasts the transaction to the Polkadot network.
3. How to Withdrawal a Stake Intent
Use the Post Withdrawal Intent endpoint. It returns an unsigned transaction to move DOT from the "staking" section to the "general" section. The withdrawal will occur when the user signs and broadcasts the transaction to the Polkadot network.
👋 Need Help?
Contact us through email or our support page for any issues, bugs, or assistance you may need.