Get a party's rewards
get_rewardsRetrieve mining and validator rewards for a Canton party. Choose summary, daily totals, or individual transfers, with optional reward type filtering.
Instructions
Get a Canton party's mining/validator rewards. Three granularities: "summary" (default) — current earnings metrics (latest round, 1h avg, 24h avg, incl. post-traffic-cost CC/USD); "daily" — per-day totals over a date range (max 90 days per call); "transfers" — individual reward transfers. Optionally filter by rewardType.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain to query. Defaults to "canton" (currently the only supported chain). | canton |
| limit | No | Max transfer rows when granularity is transfers (default 25, max 100). | |
| party | Yes | The party to query — accepts an ANS name (e.g. noves.unverified.cns), a display name (e.g. Cumberland), or a raw Canton party ID (name::hash). | |
| endDate | No | Range end (inclusive): ISO date, ISO datetime, or unix timestamp. | |
| startDate | No | Range start: ISO date, ISO datetime, or unix timestamp. | |
| rewardType | No | Filter to one reward type (transfers granularity only). | |
| granularity | No | summary = current earnings metrics; daily = per-day totals; transfers = individual reward payouts. | summary |