Staking rewards
get_rewardsRetrieve staking rewards for a Nimiq address over a date window, with totals, reward days, per-pool breakdown, and trailing 30-day yield. Read-only; restaking pools only.
Instructions
Staking rewards for an address over a window: the total (Luna and NIM), the reward days, the first and last reward date, and the breakdown per paying pool, plus an actual yield over the trailing 30 days measured against the current active stake and the current validator's estimate for comparison. Read-only, never signs and never sends. Important: only restaking (compounding) pools show up in this data; a direct-payout pool's rewards arrive as ordinary incoming transactions and are found with list_transactions instead. The public rewards data starts January 2025, so earlier asks come back empty, and it can lag by a day. A year Nimiq Watch did not answer is named in the answer, never silently dropped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Start of the window, YYYY-MM-DD or ISO 8601 (UTC). Default: the start of the public rewards data. | |
| until | No | End of the window, YYYY-MM-DD or ISO 8601 (UTC). Default: now. | |
| address | No | Nimiq address (NQ form, spaced or flat, or 40 hex characters). Optional; defaults to the server’s configured address. | |
| includeDays | No | Include the per-day reward rows, newest first, at most 400. Default false. |