Supply & Inflation
getInflationGovernor
Returns the current inflation governor parameters
Parameters
This method does not take any parameters.
Response
Code Examples
Basic Request
Using web3.js
Notes
- Returns the parameters that govern inflation on the Solana network
- Inflation decreases over time according to the taper rate
- Foundation inflation is separate from validator inflation
- The response is immediate as it reads from the current state
- These parameters are set by governance and can change
Best Practices
- Use this method to understand the network’s inflation schedule
- Cache results when appropriate to reduce RPC load
- Consider the impact of inflation on staking rewards
- Monitor for changes in inflation parameters
- Use in conjunction with other inflation-related methods
Common Errors
Code | Message | Solution |
---|---|---|
-32601 | Method not found | Verify you’re connected to a Solana RPC node |
-32007 | Inflation information unavailable | Node may be bootstrapping or syncing |
Use Cases
-
Inflation Analysis
-
Staking Reward Projection
-
Inflation Monitoring