Solana
Prêt à utiliser cela en production ?
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
Solana
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
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.Cette méthode ne prend aucun paramètre. Passez un tableau vide [].
| 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.