How to Use the NEAR Staking API

Typical user journeys with the NEAR Staking API

How to Stake

Staking funds with the Blockdaemon staking pool is achieved through the Post Stake Intent endpoint.

This endpoint returns an unsigned transaction that needs to be signed and broadcast to the network by the account responsible for the delegated funds.

How to Deactivate Your Stake

Before withdrawing staked tokens, they must undergo deactivation.

The Post Deactivation Intent endpoint returns an unsigned transaction. Once signed and broadcast, it triggers the deactivation process. The process is completed within 2 or 3 NEAR epochs (equivalent to 24-48 hours).

How to Withdraw Funds

Upon the full deactivation of the stake, an unsigned withdrawal transaction can be generated using the Post Withdrawal Intent endpoint.

👋 Need Help?

Contact us through email or our support page for any issues, bugs, or assistance you may need.