curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1, "method":"getInflationRate"}'
Returns the specific inflation values for the current epoch.
This method will use 30
Compute Units.
None.
result
The result will be an object with the following fields:
epoch
The epoch during which these values remain valid.
foundation
The proportion of total inflation allocated to the foundation.
total
The total inflation.
validator
The portion of inflation designated for validators.