Project staking yield
project_yieldEstimate yearly NIM staking rewards and balances from an amount, explicit rate, or pool yield, including cumulative rewards and read-only projection assumptions.
Instructions
Projects what staking an amount of NIM might earn, year by year. With an explicit rate it is a pure offline calculation. Read-only, never signs and never sends. Rate resolution, in order: an explicit annualRatePercent, then the named pool's current net yield, then the median of the producing pools. Compounding follows the pool's payout type (direct pools pay out, the rest restake) unless an explicit compound choice is given. Returns per-year rewards, cumulative rewards and balance, plus its assumptions: emission falls along the protocol supply curve, the network's total stake is held at today's level, and it is a projection, not a promise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Horizon in years, 1 to 10. Default 1. | |
| compound | No | Restake rewards as they arrive (true) or pay them out (false). Default: the pool's payout type, else true. | |
| amountNim | Yes | Amount to stake, in NIM, as a decimal string, e.g. "1000". At most 5 decimals. | |
| validator | No | A pool: its NQ address, exact name, or a unique part of the name (list_validators has them). | |
| annualRatePercent | No | Explicit annual rate in percent, more than 0 and at most 100. Wins over any pool's or the typical rate, and makes the call work offline. |