Daily statement
get_statementGenerates a day-by-day Nimiq income and expense statement for a year or month, priced in USD at each UTC day's CoinGecko close. Read-only; excludes failed transactions, counts fees on outgoing only.
Instructions
Day-by-day money in and out for a year (or one month of it), priced at the CoinGecko daily close in USD for each UTC day — the same basis the NimBooks tax statement uses. Read-only: never signs, never sends. Failed transactions are excluded and fees are counted on outgoing transactions only. Staking rewards (restaking payouts) are included as in-day income; moving NIM into or out of the staking contract is not a fiat flow, so it is excluded, exactly like the app’s statement. Days with no price available come back with closeUsd: null rather than a guess.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Calendar year, UTC — e.g. 2026. | |
| month | No | Optional month 1–12. Omit for the whole year. | |
| address | No | Nimiq address (NQ form, spaced or flat, or 40 hex characters). Optional; defaults to the server’s configured address. |