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
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer TOKEN |
Request Body
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer TOKEN |
Request Body
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer TOKEN |
Request Body
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer TOKEN |
Request Body
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer TOKEN |
Request Body
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authorization* | string | Bearer TOKEN |
Request Body
Name | Type | Description |
---|---|---|
currencySymbol* | string | Must be "TRX" |
action* | string | Must be "claim" |
address* | string | Your wallet address |
amount* | number | Amount to claim (integer) |
Last updated