> For the complete documentation index, see [llms.txt](https://developers.aixchain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.aixchain.com/http-api/api-list/voting-and-srs/getreward.md).

# GetReward

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

**BODY PARAMS**\
`{`

**`address`**` ``string`

**`visible`**` ``boolean (Optional)`

`}`

**Note:**  &#x20;

* **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": "AGj1Ej1qRzL9feLTLhjwgxXF4Ct6GTWg2U", "visible": true }

**Input:**&#x20;

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

**Response**:

{"reward": 4253699}
