Solana
Bereit, das in der Produktion aufzurufen?
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
Solana
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
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.Diese Methode erwartet keine Parameter. Übergib ein leeres Array [].
| Typ | Beschreibung |
|---|---|
| object | { total, validator, foundation, epoch }. |
| Code | Meldung | Ursache |
|---|---|---|
-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.