GetReward

POST: http://172.104.51.182:16667/wallet/getReward

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

BODY PARAMS {

address string

visible boolean (Optional)

}

Note:

  • address is super representative's account address.

  • visible: whether the address is in base58check format.

Example:

curl --request POST --url http://172.104.51.182:16667/wallet/getReward --header 'Accept: application/json' --header 'Content-Type: application/json' --data ' { "address": "TGj1Ej1qRzL9feLTLhjwgxXF4Ct6GTWg2U", "visible": true }

Input:

{ "address": "WFzFXoQCgUeoApjejKM9B46NgFGHXvUyKz", "visible": true }

Response:

{"reward": 4253699}

Last updated