Solana
Ready to call this in production?
Free tier covers personal projects. Pay-as-you-go scales without a card.
Solana
Free tier covers personal projects. Pay-as-you-go scales without a card.
getInflationRate reports how fast new SOL is being minted on Solana during the epoch in progress. Because Solana advances epochs roughly every couple of days, the inflation rate steps down over time along the network's tapering schedule, and this method gives you the value that applies right now. POST a JSON-RPC 2.0 request to https://solana.therpc.io/YOUR_API_KEY and the node returns the inflation rate for the current epoch as an object: total (the overall annualized inflation), validator (the portion that flows to stakers and validators), foundation (the portion reserved for the foundation), and epoch (the epoch number these figures describe).
validator, the share of SOL inflation that rewards delegators and validators.validator versus foundation shares to show users exactly where newly minted SOL goes.total against epoch to chart how Solana's inflation rate steps down over time as the schedule tapers.This method takes no parameters. Pass an empty array [].
| Type | Description |
|---|---|
| object | { total, validator, foundation, epoch }. |
| Code | Message | Cause |
|---|---|---|
-32603 | Internal error | The node hit an internal error serving the request — retry, and reduce the requested range/encoding if it persists. |
getInflationReward and vote-account data before quoting a personal yield.epoch; if you need a historical or forward-looking view, track the value per epoch and account for the taper rather than assuming today's number holds for the whole year.