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

Request Body

[
  {
    voteAddress: string;
    voteCount: number;
  }
]

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

Request Body

{
  visible: boolean;
  txID: string;
  raw_data_hex: string;
  raw_data: object;
}

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

Request Body

{
  visible: boolean;
  txID: string;
  raw_data_hex: string;
  raw_data: object;
}

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

Request Body

{
  visible: boolean;
  txID: string;
  raw_data_hex: string;
  raw_data: object;
}

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

Request Body

{
  visible: boolean;
  txID: string;
  raw_data_hex: string;
  raw_data: object;
}

Claim rewards

POST https://www.allnodes.com/api/v1/staking

This endpoint allows you to get a serialized unsigned transaction for claiming rewards.

Headers

Request Body

{
  visible: boolean;
  txID: string;
  raw_data_hex: string;
  raw_data: object;
}

Last updated