Tron Staking
Instructions: https://help.allnodes.com/en/articles/8610811-tron-staking-api
Get votes
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get a list of all your votes for Tron validators.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "TRX"
action*
string
Must be "votes"
address*
string
Your wallet address
Freeze coins
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get a serialized unsigned transaction to freeze coins before staking.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "TRX"
action*
string
Must be "freeze"
address*
string
Your wallet address
amount*
number
Amount to freeze (integer)
Delegate coins
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get a serialized unsigned transaction for delegating staked coins to Allnodes validator.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "TRX"
action*
string
Must be "delegate"
address*
string
Your wallet address
amount*
number
Amount to delegate (integer)
Undelegate coins
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get a serialized unsigned transaction for undelegating staked coins from Allnodes validator.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "TRX"
action*
string
Must be "undelegate"
address*
string
Your wallet address
amount*
number
Amount to undelegate (integer)
Unfreeze coins
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get a serialized unsigned transaction to unfreeze coins after undelegating.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "TRX"
action*
string
Must be "unfreeze"
address*
string
Your wallet address
amount*
number
Amount to unfreeze (integer)
Claim rewards
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get a serialized unsigned transaction for claiming rewards.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "TRX"
action*
string
Must be "claim"
address*
string
Your wallet address
amount*
number
Amount to claim (integer)
Last updated