Clients
A user can query the x/incentives
module using the CLI, JSON-RPC, gRPC or REST.
CLI
Find below a list of mnovad
commands added with the x/inflation
module. You can obtain the full list by using the mnovad -h
command.
Queries
The query
commands allow users to query inflation
state.
period
Allows users to query the current inflation period.
epoch-mint-provision
Allows users to query the current inflation epoch provisions value.
skipped-epochs
Allows users to query the current number of skipped epochs.
total-supply
Allows users to query the total supply of tokens in circulation.
inflation-rate
Allows users to query the inflation rate of the current period.
params
Allows users to query the current inflation parameters.
Proposals
The tx gov submit-proposal
commands allow users to query create a proposal using the governance module CLI:
param-change
Allows users to submit a ParameterChangeProposal
.
gRPC
Queries
gRPC
mnova.inflation.v1.Query/Period
Gets current inflation period
gRPC
mnova.inflation.v1.Query/EpochMintProvision
Gets current inflation epoch provisions value
gRPC
mnova.inflation.v1.Query/Params
Gets current inflation parameters
gRPC
mnova.inflation.v1.Query/SkippedEpochs
Gets current number of skipped epochs
gRPC
mnova.inflation.v1.Query/TotalSupply
Gets current total supply
gRPC
mnova.inflation.v1.Query/InflationRate
Gets current inflation rate
GET
/mnova/inflation/v1/period
Gets current inflation period
GET
/mnova/inflation/v1/epoch_mint_provision
Gets current inflation epoch provisions value
GET
/mnova/inflation/v1/skipped_epochs
Gets current number of skipped epochs
GET
/mnova/inflation/v1/total_supply
Gets current total supply
GET
/mnova/inflation/v1/inflation_rate
Gets current inflation rate
GET
/mnova/inflation/v1/params
Gets current inflation parameters
Last updated