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 "1INCH"
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 "1INCH"
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 "1INCH"
action*
string
Must be "withdraw-rewards"
address*
string
Your wallet address
Withdraw stake
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get transaction params for withdraw stake.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "1INCH"
action*
string
Must be "withdraw-stake"
address*
string
Your wallet address
amount*
string
Amount to withdraw
Last updated