getInflationRate - Solana

getInflationRate. Returns the current inflation rate of the blockchain, offering developers insights into the rate

getInflationRate - solana [Value: 8CU]
Returns the current inflation rate of the blockchain
Use cases

Use cases

  • Monitor account balance changes for Solana applications
  • Verify ownership details of a Solana account
  • Retrieve account state for application-specific data
Constraints

Constraints

  • Requires valid Solana account public key
  • Network latency can affect response time
  • Program-specific data structures may vary significantly
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl https://solana.drpc.org \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":1, "method":"getInflationRate"}'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "result": {
    "context": {
      "slot": 84768334
    },
    "value": {
      "data": {
        "parsed": {
          "info": {
            "owner": "11111111111111111111111111111111",
            "lamports": 1000000000,
            "rentEpoch": 23,
            "data": []
          },
          "type": "account"
        },
        "program": "system",
        "space": 0
      },
      "executable": false,
      "lamports": 1000000000,
      "owner": "11111111111111111111111111111111",
      "rentEpoch": 23
    }
  },
  "id": 1
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
ParametersThis method does not accept any parameters.

Response

200
Contains details on inflation distribution and validity period

Response params

object
idinteger
jsonrpcstring
resultstring
object
epochinteger
The epoch during which these values are applicable
foundationnumber
The percentage of total inflation allocated to the foundation.
totalnumber
The overall inflation rate
validatornumber
The portion of the inflation allocated to validators