Last updated 2 years ago
Body params:
address - User's address
address
visible - Optional, Whether the address is in base58 format.
visible
Request
Response
curl --request POST \ --url https://tron.api.watchdata.io/wallet/getReward \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data ' { "address": "TGj1Ej1qRzL9feLTLhjwgxXF4Ct6GTWg2U", "visible": true } '
{ "reward": 0 }
Get the rewards that a witness or a user has not yet withdrawn.