getInflationRate
Returns the specific inflation values for the current epoch

Parameters

None

Returns

  • total: <f64>, total inflation
  • validator: <f64>, inflation allocated to validators
  • foundation: <f64>, inflation allocated to the foundation
  • epoch: <u64>, epoch for which these values are valid

Example

Request

cURL
1
curl --location --request POST 'https://solana-mainnet.g.alchemy.com/v2/demo' \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"id": 1,
6
"method": "getInflationRate"
7
}'
Copied!

Response

1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"epoch": 312,
5
"foundation": 0.0,
6
"total": 0.06919779484862386,
7
"validator": 0.06919779484862386
8
},
9
"id": 1
10
}
Copied!