getInflationGovernor
Last updated:
`getInflationGovernor` returns the cluster's inflation governor: the rule-set that determines the annual inflation rate over time. Unlike [`getInflationRate`](./getInflationRate.md), which reports the realized inflation values for the *current* epoch, the governor describes the **parameters** that those values are derived from — the starting rate, the floor it tapers down to, the rate of that taper, and the share routed to the foundation.
Every field is a fraction in the range `0.0`–`1.0` (for example, `0.08` means 8% annual inflation). These values are governed by cluster configuration and change only rarely, so the result is effectively static between protocol parameter changes. Use it to model expected staking yields or to display the network's long-term issuance schedule.
The reading is taken relative to a slot governed by the optional `commitment` config. Pass `minContextSlot` to require that the serving node has already reached at least a given slot before it answers.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| config | CommitmentConfig | No |
Returns
| Field | Type |
|---|---|
| result | object |
Examples
curl https://<your-endpoint>/ \
-X POST -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"getInflationGovernor","params":["<config>"]}'const res = await fetch("https://<your-endpoint>/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"id": 1,
"method": "getInflationGovernor",
"params": [
"<config>"
],
"jsonrpc": "2.0"
}),
});
const data = await res.json();import requests
resp = requests.post("https://<your-endpoint>/", json={"id":1,"method":"getInflationGovernor","params":["<config>"],"jsonrpc":"2.0"})
print(resp.json())Usage
- Transport: HTTP (JSON-RPC).
- Networks: mainnet, devnet, testnet.
- Credit cost: 1 per call.
FAQ
- What does getInflationGovernor do?
- Returns the cluster's current inflation governor — the set of fractions that govern how SOL is issued as staking rewards.
- How many credits does getInflationGovernor cost?
- getInflationGovernor costs 1 credit(s) per call on Triport by default.
- Is getInflationGovernor available over WebSocket?
- getInflationGovernor is an HTTP JSON-RPC method.