curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getInflationRate",
"params": []
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {
"epoch": 123,
"foundation": 123,
"total": 123,
"validator": 123
}
}
curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getInflationRate",
"params": []
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {
"epoch": 123,
"foundation": 123,
"total": 123,
"validator": 123
}
}
getInflationRate
methodgetInflationRate
method returns the current inflation rate.
This method provides the current inflation rate, which is the rate at which new lamports are minted and distributed. It is useful for understanding the current rate of inflation in the network.
value
— the current inflation rate:
total
— the total inflation rate.validator
— the portion of the inflation rate that goes to validators.foundation
— the portion of the inflation rate that goes to the foundation.epoch
— the current epoch.getInflationRate
is to understand the current rate of inflation in the network. This can be useful for wallets or other applications that need to display or make use of this information.Inflation rate details
The response is of type object
.
Was this page helpful?