GetReward
Get the rewards that a witness or a user has not yet withdrawn.
Body params:
address
- User's addressvisible
- Optional, Whether the address is in base58 format.
Request
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
}
'
Response
{
"reward": 0
}
Last updated