BlockX Documentation
  • Introduction
    • BlockX
    • Tokens
    • Transactions
    • Inflation
    • Keys
      • Keyring
      • Multisig
    • Gas Fees
    • Wallet and Accounts
      • Adding BlockX to Metamask
      • Adding BlockX to Keplr
      • Transfers Between Wallets
      • Backup
    • Deploying Smart Contracts
      • Remix
      • Hardhat
  • BlockX White Paper
  • The BCX Token
  • Governance
    • Proposals
      • Proposal Tips
      • Submit a Proposal
    • Community Pool
    • Chain Parameters
  • Technical Concepts
    • Architecture
    • Accounts
    • Chain ID
    • Encoding
    • Pending State
  • dApp Developers
    • Establishing Connections
    • BlockX Clients
    • Guides
      • Wallet Integration
      • Smart Contract Incentive Registration
      • Tracing Transactions
      • Query Balances
    • Localnet
      • Single-node
      • Multi-node
    • Testnet
      • Testnet Commands
    • Ethereum JSON-RPC
      • JSON-RPC Server
      • Running the Server
      • Namespaces
      • JSON-RPC Methods
      • Events
    • Tendermint RPC
  • Protocol Developers
    • Modules
      • auth
        • Concepts
        • State
        • AnteHandlers
        • Keepers
        • Vesting
        • Parameters
        • Client Auth
      • bank
        • State
        • Keepers
        • Messages
        • Events
        • Parameters
        • Client
      • crisis
        • State
        • Messages
        • Events
        • Parameters
        • Client
      • distribution
        • Concepts
        • State
        • Begin Block
        • Messages
        • Hooks
        • Events
        • Parameters
        • Client
      • epochs
        • Concepts
        • State
        • Events
        • Keepers
        • Hooks
        • Queries
        • Future Improvements
      • erc20
        • Concepts
        • State
        • State Transitions
        • Transactions
        • Hooks
        • Events
        • Parameters
        • Clients
      • evidence
        • Concepts
        • State
        • Messages
        • Events
        • Parameters
        • BeginBlock
        • Client
      • evm
        • Concepts
        • State
        • State Transitions
        • Transactions
        • ABCI
        • Hooks
        • Events
        • Parameters
        • Client
      • feemarket
        • Concepts
        • State
        • Begin block
        • End block
        • AnteHandlers
        • Keeper
        • Events
        • Client
        • Future Improvements
        • Parameters
      • feesplit
        • Concepts
        • State
        • State Transitions
        • Transactions
        • Hooks
        • Events
        • Parameters
        • Clients
        • Future Improvements
      • gov
        • Concepts
        • State
        • Messages
        • Events
        • Future Improvements
        • Parameters
        • Client
      • incentives
        • Concepts
        • State
        • State Transitions
        • Transactions
        • Hooks
        • Events
        • Parameters
        • Clients
      • ibc-core
      • inflation
        • Concepts
        • State
        • Hooks
        • Events
        • Parameters
        • Clients
      • slashing
        • Concepts
        • State
        • Messages
        • BeginBlock
        • Hooks
        • Events
        • Staking Tombstone
        • Parameters
        • CLI
      • staking
        • State
        • State Transitions
        • Messages
        • Begin-Block
        • End-Block
        • Hooks
        • Events
        • Parameters
        • Client
      • upgrade
        • Concepts
        • State
        • Events
        • Client
        • Resources
      • vesting
        • Concepts
        • State
        • State Transitions
        • Transactions
        • AnteHandlers
        • Events
        • Clients
    • Module Accounts
    • IBC Channels
    • Ethermint API
  • Validators
    • Quick Start
    • Telemetry
    • Security
      • Tendermint KMS
      • Tendermint KMS + Ledger
      • Validator Security Checklist
      • Validator Backup
    • Snapshots, Archive Nodes
    • FAQ
  • Delegators
    • Staking Process
  • Tokenomics
  • Block Explorers
Powered by GitBook
On this page
  • CLI
  • gRPC
  1. Protocol Developers
  2. Modules
  3. inflation

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

Verb
Method
Description

gRPC

blockx.inflation.v1.Query/Period

Gets current inflation period

gRPC

blockx.inflation.v1.Query/EpochMintProvision

Gets current inflation epoch provisions value

gRPC

blockx.inflation.v1.Query/Params

Gets current inflation parameters

gRPC

blockx.inflation.v1.Query/SkippedEpochs

Gets current number of skipped epochs

gRPC

blockx.inflation.v1.Query/TotalSupply

Gets current total supply

gRPC

evmblockxos.inflation.v1.Query/InflationRate

Gets current inflation rate

GET

/blockx/inflation/v1/period

Gets current inflation period

GET

/blockx/inflation/v1/epoch_mint_provision

Gets current inflation epoch provisions value

GET

/blockx/inflation/v1/skipped_epochs

Gets current number of skipped epochs

GET

/blockx/inflation/v1/total_supply

Gets current total supply

GET

/blockx/inflation/v1/inflation_rate

Gets current inflation rate

GET

/blockx/inflation/v1/params

Gets current inflation parameters

PreviousParametersNextslashing

Last updated 2 years ago