POSTGetReward

Tron Mainnethttps://tron-mainnet.nodit.io/wallet/getReward

Get the rewards that a SR or a user has not yet withdrawn.

Request Body
addressstringrequired

Account address. (Format: Base58 or Hex). Example: TUoHaVjx7n5xz8LwPRDckgFrDWhMhuSuJM

visibleboolean

Optional. Set to true to format addresses in Base58; set to false for hex format. (Default: false)

Responses
rewardinteger (int64)

Voting rewards, the amount of rewards that can be withdrawn by the account. (Unit: sun)

X-API-KEY
RequestCU20
cURL
curl -X POST "https://tron-mainnet.nodit.io/wallet/getReward" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "address": "TUoHaVjx7n5xz8LwPRDckgFrDWhMhuSuJM",
  "visible": true
}'
Response
Example · 200
{
  "reward": 0
}