RPC MethodsHTTPgetInflationGovernor

Inflation

getInflationGovernor

Returns the current inflation governor.

Parameters

configobject optional

Configuration object.

commitmentstring

Commitment level.

Result

object

An object with initial, terminal, taper, foundation, and foundationTerm.

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": "getInflationGovernor",
  "params": [{ "commitment": "finalized" }]
}'
Response
JSON
{
"jsonrpc": "2.0",
"result": {
"foundation": 0.05,
"foundationTerm": 7,
"initial": 0.15,
"taper": 0.15,
"terminal": 0.015
},
"id": 1
}