Clients

A user can query the x/incentives module using the CLI, JSON-RPC, gRPC or REST.

CLI

Find below a list of blockxd commands added with the x/inflation module. You can obtain the full list by using the blockxd -h command.

Queries

The query commands allow users to query inflation state.

period

Allows users to query the current inflation period.

blockxd query inflation period [flags]

epoch-mint-provision

Allows users to query the current inflation epoch provisions value.

blockxd query inflation epoch-mint-provision [flags]

skipped-epochs

Allows users to query the current number of skipped epochs.

blockxd query inflation skipped-epochs [flags]

total-supply

Allows users to query the total supply of tokens in circulation.

blockxd query inflation total-supply [flags]

inflation-rate

Allows users to query the inflation rate of the current period.

blockxd query inflation inflation-rate [flags]

params

Allows users to query the current inflation parameters.

blockxd query inflation params [flags]

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.

blockxd tx gov submit-proposal param-change [proposal-file] [flags]

gRPC

Queries