Staking
Approve a token
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for approve tokens.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "AAVE"
action*
string
Must be "approve"
address*
string
Your wallet address
Stake coins/tokens
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for staking coins/tokens.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "AAVE"
action*
string
Must be "stake"
address*
string
Your wallet address
amount*
string
Amount to stake
Withdraw rewards
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for withdraw rewards earned.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "AAVE"
action*
string
Must be "withdraw-rewards"
address*
string
Your wallet address
Unbond coins/tokens
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for unbonding coins/tokens.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "AAVE"
action*
string
Must be "unbond-stake"
address*
string
Your wallet address
Withdraw stake (after unbonding period finished)
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for withdraw stake. Unbonding period: 10 days + 2 days to withdraw stake after that
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "AAVE"
action*
string
Must be "withdraw-stake"
address*
string
Your wallet address
amount*
string
Amount to withdraw
Last updated