Solana
准备好在生产环境中调用了吗?
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
Solana
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
getInflationGovernor reads the governing constants behind Solana's SOL inflation schedule — the protocol-level dials that decide how new SOL is minted to reward stakers over the network's lifetime. Send a JSON-RPC 2.0 POST with positional params to https://solana.therpc.io/YOUR_API_KEY and the node returns the inflation governor parameters: initial (the starting annual inflation rate), terminal (the long-run floor it tapers toward), taper (the yearly rate of reduction), foundation (the share of inflation directed to the foundation), and foundationTerm (how many years that foundation share lasts). These are fixed protocol settings rather than a live measurement, so the response changes only on a genuine protocol change.
initial, apply taper each year, and converge toward terminal to project future staking yield.foundation and foundationTerm values for tokenomics analysis — they tell you what slice of newly minted SOL goes to the foundation and for how long, so you can separate staker rewards from foundation issuance.| # | 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|---|
| 1 | config | object | 否 | Options: commitment. |
| 类型 | 描述 |
|---|---|
| object | { initial, terminal, taper, foundation, foundationTerm }. |
| 错误码 | 错误信息 | 原因 |
|---|---|---|
-32602 | Invalid params | A param is missing, of the wrong type, or malformed (e.g. a non-base58 pubkey or a bad config field). |
-32603 | Internal error | The node hit an internal error serving the request — retry, and reduce the requested range/encoding if it persists. |
getInflationRate instead — getInflationGovernor only describes the schedule that rate is derived from.