Blockdaemon Guides - Binance Staking API

TypeScript Example for BNB Transaction

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:

Tutorial

⬇️ Follow the step-by-step guide in the recipe below:

💡

Stake BNB via Blockdaemon API

Open Recipe

Recipe Title

Recipe Description

​x


1{"success":true}