mint inflation - Cosmos

Returns the current minting inflation rate.

Endpoint

GET /cosmos/mint/v1beta1/inflation

Example

bashexport COSMOS_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${COSMOS_REST}cosmos/mint/v1beta1/inflation"

Response

json{
    "inflation": "0.100000000000000000"
}

Response Fields

FieldTypeDescription
inflationstringCurrent annual inflation rate as a decimal string

Use Cases

  • Staking APR: Combine inflation with the bonded ratio to estimate rewards
  • Metrics: Track monetary policy over time

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA path, query, or body parameter was invalid
404 / Not foundNot foundThe account, validator, proposal, or resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect