Skip to content

REST API - nibiru/inflation

Query Service - nibiru/inflation

/nibiru/inflation/v1/circulating_supply

bash
# You can also use wget
curl -X GET https://lcd.nibiru.fi/nibiru/inflation/v1/circulating_supply \
  -H 'Accept: application/json'
Summary

CirculatingSupply retrieves the total number of tokens that are in circulation (i.e. excluding unvested tokens).

Responses
CodeDescriptionSchema
200A successful response.v1QueryCirculatingSupplyResponse
defaultAn unexpected error response.runtimeError

/nibiru/inflation/v1/epoch_mint_provision

bash
# You can also use wget
curl -X GET https://lcd.nibiru.fi/nibiru/inflation/v1/epoch_mint_provision \
  -H 'Accept: application/json'
Summary

EpochMintProvision retrieves current minting epoch provision value.

Responses
CodeDescriptionSchema
200A successful response.v1QueryEpochMintProvisionResponse
defaultAn unexpected error response.runtimeError

/nibiru/inflation/v1/inflation_rate

bash
# You can also use wget
curl -X GET https://lcd.nibiru.fi/nibiru/inflation/v1/inflation_rate \
  -H 'Accept: application/json'
Summary

InflationRate retrieves the inflation rate of the current period.

Responses
CodeDescriptionSchema
200A successful response.v1QueryInflationRateResponse
defaultAn unexpected error response.runtimeError

/nibiru/inflation/v1/params

bash
# You can also use wget
curl -X GET https://lcd.nibiru.fi/nibiru/inflation/v1/params \
  -H 'Accept: application/json'
Summary

Params retrieves the total set of minting parameters.

Responses
CodeDescriptionSchema
200A successful response.v1QueryParamsResponse
defaultAn unexpected error response.runtimeError

/nibiru/inflation/v1/period

bash
# You can also use wget
curl -X GET https://lcd.nibiru.fi/nibiru/inflation/v1/period \
  -H 'Accept: application/json'
Summary

Period retrieves current period.

Responses
CodeDescriptionSchema
200A successful response.v1QueryPeriodResponse
defaultAn unexpected error response.runtimeError

/nibiru/inflation/v1/skipped_epochs

bash
# You can also use wget
curl -X GET https://lcd.nibiru.fi/nibiru/inflation/v1/skipped_epochs \
  -H 'Accept: application/json'
Summary

SkippedEpochs retrieves the total number of skipped epochs.

Responses
CodeDescriptionSchema
200A successful response.v1QuerySkippedEpochsResponse
defaultAn unexpected error response.runtimeError

Models

protobufAny

NameTypeDescriptionRequired
type_urlstringNo
valuebyteNo

runtimeError

NameTypeDescriptionRequired
errorstringNo
codeintegerNo
messagestringNo
details[ protobufAny ]No

v1InflationDistribution

InflationDistribution defines the distribution in which inflation is allocated through minting on each epoch (staking, community, strategic). It excludes the team vesting distribution.

NameTypeDescriptionRequired
staking_rewardsstringNo
community_poolstringNo
strategic_reservesstringNo

v1Params

Params holds parameters for the inflation module.

NameTypeDescriptionRequired
inflation_enabledbooleanNo
polynomial_factors[ string ]No
inflation_distributionv1InflationDistributionNo
epochs_per_periodstring (uint64)No
periods_per_yearstring (uint64)No
max_periodstring (uint64)max_period is the maximum number of periods that have inflation being paid off. After this period, inflation will be disabled.No
has_inflation_startedbooleanNo

v1QueryCirculatingSupplyResponse

QueryCirculatingSupplyResponse is the response type for the Query/CirculatingSupply RPC method.

NameTypeDescriptionRequired
circulating_supplyv1beta1DecCoinNo

v1QueryEpochMintProvisionResponse

QueryEpochMintProvisionResponse is the response type for the Query/EpochMintProvision RPC method.

NameTypeDescriptionRequired
epoch_mint_provisionv1beta1DecCoinepoch_mint_provision is the current minting per epoch provision value.No

v1QueryInflationRateResponse

QueryInflationRateResponse is the response type for the Query/InflationRate RPC method.

NameTypeDescriptionRequired
inflation_ratestringNo

v1QueryParamsResponse

QueryParamsResponse is the response type for the Query/Params RPC method.

NameTypeDescriptionRequired
paramsv1Paramsparams defines the parameters of the module.No

v1QueryPeriodResponse

QueryPeriodResponse is the response type for the Query/Period RPC method.

NameTypeDescriptionRequired
periodstring (uint64)period is the current minting per epoch provision value.No

v1QuerySkippedEpochsResponse

QuerySkippedEpochsResponse is the response type for the Query/SkippedEpochs RPC method.

NameTypeDescriptionRequired
skipped_epochsstring (uint64)skipped_epochs is the number of epochs that the inflation module has been disabled.No

v1beta1DecCoin

DecCoin defines a token with a denomination and a decimal amount.

NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto.

NameTypeDescriptionRequired
denomstringNo
amountstringNo