getInflationRate RPC Method

Returns the specific inflation values for the current epoch

Request
$ curl https://api.devnet.solana.com -s -X \
> POST -H "Content-Type: application/json" -d '
> {
> "jsonrpc": "2.0",
> "id": 1,
> "method": "getInflationRate"
> }
> '

params

None

result

Response
{
"jsonrpc": "2.0",
"result": {
"total": 0.149,
"validator": 0.148,
"foundation": 0.001,
"epoch": 100
},
"id": 1
}
object

The result field will be a JSON object with the following fields:

Is this page helpful?