Skip to main content

Staking API

Endpoints for staking, unstaking, and managing staking positions.

Staking Operations

Stake Tokens

POST /stake/stake

Stake tokens with a staking provider.

Request Body:

FieldTypeRequiredDescription
chainIdnumberYesChain ID
protocolstringYesStaking provider (ankr, blockdaemon)
amountstringYesAmount to stake
walletAddressstringYesUser wallet address

Unstake Tokens

POST /stake/unstake

Unstake previously staked tokens.

Request Body:

FieldTypeRequiredDescription
chainIdnumberYesChain ID
protocolstringYesStaking provider
amountstringYesAmount to unstake
walletAddressstringYesUser wallet address

Position Information

Get Staked Positions

GET /stake/getstakedpositions

Retrieve all staking positions for a user.

Query Parameters:

ParameterTypeRequiredDescription
walletAddressstringYesUser wallet address
chainIdnumberYesChain ID

Get Staking Pools

GET /stake/get-pools

Retrieve available staking pools with APY and TVL information.


Get APY

POST /stake/get-apy

Get current APY rates for staking by chain.


Stake by Token

GET /stake/stakeByToken

Get staking options filtered by a specific token.

Blockdaemon-Specific Endpoints

Blockdaemon Staking

POST /stake/blockdaemon/staking

Stake through Blockdaemon validators.


Blockdaemon Withdraw

POST /stake/blockdaemon/withdraw

Withdraw staked tokens from Blockdaemon.


Blockdaemon APY

GET /stake/blockdaemon/apy

Get Blockdaemon-specific APY rates.


Blockdaemon Rewards

POST /stake/blockdaemon/rewards

Get reward details for Blockdaemon staking positions.

Polygon-Specific Endpoints

Create Polygon Intent

POST /stake/blockdaemon/polygon/create-intent

Create a staking bootstrap intent for Polygon.


Polygon Deactivation

POST /stake/blockdaemon/polygon/deactivation

Create a deactivation intent for unstaking on Polygon (begins the unbonding process).