RPC MethodsHTTPgetInflationRate

Inflation

getInflationRate

Returns the specific inflation values for the current epoch.

Parameters

This method takes no parameters.

Result

object

An object with total, validator, foundation, and epoch.

Example

Request
JSON
curl "https://eu.fluxrpc.com?key=<your-API-key>" -s -X POST -H "Content-Type: application/json" -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getInflationRate"
}'
Response
JSON
{
"jsonrpc": "2.0",
"result": {
"epoch": 100,
"foundation": 0.001,
"total": 0.149,
"validator": 0.148
},
"id": 1
}