Learn getInflationRate use cases, code examples, request parameters, response structure, and tips.
getInflationRate
RPC method returns a breakdown of the inflation rates for the current epoch. This includes the total inflation rate, the portion allocated to validators, the portion allocated to the foundation, and the epoch number these rates apply to.
This method provides a snapshot of the current rewards distribution from new token issuance (inflation).
result
field of the JSON-RPC response will be an object containing:
total
(f64): The total inflation rate for the current epoch (e.g., 0.065 for 6.5%).validator
(f64): The portion of the total inflation rate allocated to validators for the current epoch (e.g., 0.06 for 6%).foundation
(f64): The portion of the total inflation rate allocated to the foundation for the current epoch (e.g., 0.005 for 0.5%).epoch
(u64): The epoch number for which these inflation rates are valid.getInflationGovernor
but represent the annualized rate for this specific epoch.getInflationGovernor
) changes infrequently, the calculated getInflationRate
will vary epoch by epoch as the overall inflation tapers.getInflationRate
RPC method to get a snapshot of the current epoch’s inflation distribution.