GetReward
Get the rewards that a Super Representative or a user has not yet withdrawn (Confirmed state).
This method will use 30
Compute Units.
Parameters
address
- String - User's addressvisible
- Boolean - Optional - Specifies whether the address is in Base58 format (default: false).
Returns
reward
- long : Voting rewards
// Result
{
"reward": 7101725221997
}
curl https://mainnet.tron.validationcloud.io/v1/<YOUR_API_KEY_HERE>/walletsolidity/getReward \
-X POST \
-H "Content-Type: application/json" \
-d '
{
"address": "TCuM8e98jmPwT1RU2jW7dekUC5HpXbGzFG",
"visible": true
}
'
Last updated
Was this helpful?