getInflationRate

The getInflationRate method returns the specific inflation values for the current epoch. While getInflationGovernor provides the parameters that define how inflation changes over time, this method returns the actual inflation rates currently in effect.

Solana's inflation model distributes newly minted tokens to validators and stakers as rewards for securing the network. The inflation rate decreases over time according to the schedule defined by the inflation governor, eventually reaching a long-term terminal rate. The current inflation is split between validators (who receive transaction fees and inflation rewards), the Solana Foundation, and is used to fund ecosystem growth.

This method is essential for calculating actual staking rewards, displaying current APY to users, and understanding the real-time token emission rate. Staking platforms use this data to show accurate reward projections, while economic analysis tools use it to track token supply dynamics. The inflation rate changes at epoch boundaries, so this data should be queried periodically to stay current.


Parameters

parameter
type
description
config
object
Optional configuration object (currently no config options are available)
Return Object
field
type
description
total
number
Total current inflation rate as a percentage (annual)
validator
number
Inflation rate allocated to validators and stakers as a percentage
foundation
number
Inflation rate allocated to the Solana Foundation as a percentage
epoch
number
The epoch for which these inflation rates apply
Request Example
Request
Response Example
Response

Tip: The total inflation rate is approximately 6.95% in this example, with most going to validators and stakers. Multiply the validator rate by your stake proportion and validator commission to estimate annual staking rewards. Rates change at epoch boundaries, so query this when calculating up-to-date APY.


Share on
Share on FacebookShare on XShare on LinkedIn
Did you find this page useful?