Staking API
View some examples showing how to use Blockdaemon Polkadot Staking API.
On this page, you will find a TypeScript example showing how to send a DOT transaction using the Polkadot Staking API. It includes functions for staking, deactivating, or withdrawing DOT tokens.
Prerequisites
You’ll need the following before running the script:
- A funded Polkadot (or Westend) wallet
- Your Blockdaemon API Key
- Access to a Polkadot-compatible RPC endpoint (e.g., wss://westend-rpc.polkadot.io)
- Your proxy or stash account keys
Tutorial
⬇️ Follow the step-by-step guide in the recipe below:
Stake DOT via Blockdaemon API
Open Recipe
Reference
👋 Need Help?
Contact us through email or our support page for any issues, bugs, or assistance you may need.
Updated 25 days ago