getInflationRate
Returns the current epoch's effective inflation rates.
Request
{ "jsonrpc": "2.0", "id": 1, "method": "getInflationRate"}Parameters
This method takes no parameters.
Response
{ "jsonrpc": "2.0", "result": { "total": 0.149, "validator": 0.148, "foundation": 0.001, "epoch": 100 }, "id": 1}| Field | Type | Description |
|---|---|---|
| total | f64 | Total inflation rate for the current epoch. |
| validator | f64 | Portion of inflation allocated to validators. |
| foundation | f64 | Portion of inflation allocated to the foundation. |
| epoch | u64 | Epoch for which these inflation values are valid. |
All rate fields (total, validator, foundation) are expressed as annualized fractions (e.g. 0.149 means 14.9%). The epoch field identifies which epoch these rates apply to.