Skip to main content

Parameters

This method does not take any parameters.

Response

object

Code Examples

Basic Request

Using web3.js

Notes

  1. Returns the current inflation rate and its allocation
  2. Total inflation is split between validators and foundation
  3. Inflation rates are expressed as percentages
  4. The response is immediate as it reads from the current state
  5. Inflation rates can change between epochs

Best Practices

  1. Use this method to understand current network inflation
  2. Cache results when appropriate to reduce RPC load
  3. Consider the impact of inflation on staking rewards
  4. Monitor for changes in inflation rates
  5. Use in conjunction with other inflation-related methods

Common Errors

Use Cases

  1. Inflation Tracking
  2. Staking Analysis
  3. Inflation Alerts