Fetch the specific inflation values for the current epoch.
HTTP transport instance
Additional call options
Inflation rate containing total, validator, foundation, and epoch values
const rate = await getInflationRate(transport);console.log(`Total inflation: ${rate.total}`); Copy
const rate = await getInflationRate(transport);console.log(`Total inflation: ${rate.total}`);
1.0.0
Fetch the specific inflation values for the current epoch.