Staking API
On this page, you will find a TypeScript example showing how to send a BNB transaction using the BNB Staking API. The script includes functions for staking (delegating), deactivating (undelegating), and restaking to another validator.
Prerequisites
You’ll need the following before running the script:
- A Binance Chain testnet wallet with BNB
- Your Blockdaemon API key
Tutorial
⬇️ Follow the step-by-step guide in the recipe below:
Stake BNB via Blockdaemon API
Open Recipe
ReferenceView the Binance - Staking API Endpoints here.
👋 Need Help?
Contact us through email or our support page for any issues, bugs, or assistance you may need.
Updated 25 days ago