ποΈModules
Overview
authz
authzIntroduction
Overview
SendAuthorization
StakeAuthorization
GenericAuthorization
Transactions and Queries
Transactions
grant:
grant:tx authz grant [grantee_address] send --spend-limit [amount] --from [granter_address]- Grant to send with a spend limit
tx authz grant [grantee_address] send --spend-limit [amount] --from [granter_address]- Grant to send with a spend limittx authz grant [grantee_address] delegate --spend-limit [amount] --allowed-validators [list_of_allowed_validators_separated_by_,] --from [granter_address]- Grant to delegate to validators on a specified list
tx authz grant [grantee_address] delegate --spend-limit [amount] --allowed-validators [list_of_allowed_validators_separated_by_,] --from [granter_address]- Grant to delegate to validators on a specified listtx authz grant [grantee_address] delegate --spend-limit [amount] --deny-validators [list_of_deny_validators_separated_by_,] --from [granter_address]- Grant to delegate to validators excluding a specified list
tx authz grant [grantee_address] delegate --spend-limit [amount] --deny-validators [list_of_deny_validators_separated_by_,] --from [granter_address]- Grant to delegate to validators excluding a specified listtx authz grant [grantee_address] redelegate --spend-limit [amount] --allowed-validators [list_of_allowed_validators_separated_by_,] --from [granter_address]- Grant to redelegate to validators on a specified list
tx authz grant [grantee_address] redelegate --spend-limit [amount] --allowed-validators [list_of_allowed_validators_separated_by_,] --from [granter_address]- Grant to redelegate to validators on a specified listtx authz grant [grantee_address] unbond --spend-limit [amount] --allowed-validators [list_of_allowed_validators_separated_by_,] --from [granter_address]- Grant to unbond from validators on a specified list
tx authz grant [grantee_address] unbond --spend-limit [amount] --allowed-validators [list_of_allowed_validators_separated_by_,] --from [granter_address]- Grant to unbond from validators on a specified listtx authz grant [grantee_address] generic --msg-type [msg_type_url] --from [granter_address]- Grant for generic authorization with a specified Message Type URL
tx authz grant [grantee_address] generic --msg-type [msg_type_url] --from [granter_address]- Grant for generic authorization with a specified Message Type URLtx authz grant [grantee_address] generic --msg-type /chainmain.nft.v1.MsgMintNFT --from [granter_address]- Grant to mint NFT
tx authz grant [grantee_address] generic --msg-type /chainmain.nft.v1.MsgMintNFT --from [granter_address]- Grant to mint NFTtx authz grant [grantee_address] generic --msg-type /chainmain.nft.v1.MsgTransferNFT --from [granter_address]- Grant to transfer NFT
tx authz grant [grantee_address] generic --msg-type /chainmain.nft.v1.MsgTransferNFT --from [granter_address]- Grant to transfer NFTtx authz grant [grantee_address] generic --msg-type /chainmain.nft.v1.MsgEditNFT --from [granter_address]- Grant to edit NFT
tx authz grant [grantee_address] generic --msg-type /chainmain.nft.v1.MsgEditNFT --from [granter_address]- Grant to edit NFTexec:
exec:tx authz exec [tx_json] --from [grantee_address] - Execute an authorization
tx authz exec [tx_json] --from [grantee_address] - Execute an authorizationrevoke:
revoke:tx authz revoke [grantee_address] [msg_type_url] --from [granter_address] - Revoke an authorization with a specified Message Type URL
tx authz revoke [grantee_address] [msg_type_url] --from [granter_address] - Revoke an authorization with a specified Message Type URLQueries
query authz grants [granter_address] [grantee_address] - Query all existing grants between a granter-grantee pair
query authz grants [granter_address] [grantee_address] - Query all existing grants between a granter-grantee pairquery authz grants [granter_address] [grantee_address] [msg_type_url] - Query the grant with a specified Message Type URL between a granter-grantee pair
query authz grants [granter_address] [grantee_address] [msg_type_url] - Query the grant with a specified Message Type URL between a granter-grantee pairbank
bankIntroduction
Transactions and Queries
Transactions
tx bank send [from_key_or_address] [to_address] [amount] [network_id] - Send Funds
tx bank send [from_key_or_address] [to_address] [amount] [network_id] - Send FundsQueries
query bank balances [address] - Check the balance of a specified account
query bank balances [address] - Check the balance of a specified accountquery bank total - Check the total supply of the token
query bank total - Check the total supply of the tokenAppendix
bank module: Network Parameters and configuration
bank module: Network Parameters and configurationKey
Type
Example
distribution
distributionIntroduction
Overview
Network Parameters
Rewards
Block reward
Transaction Fees Bonus
Community tax
Transactions and Queries
Transactions
tx distribution withdraw-all-rewards - Withdraw all delegations rewards for a delegator
tx distribution withdraw-all-rewards - Withdraw all delegations rewards for a delegatortx distribution withdraw-rewards [validator-addr] - Withdraw rewards from a given validator address
tx distribution withdraw-rewards [validator-addr] - Withdraw rewards from a given validator addresstx distribution set-withdraw-addr [withdraw-addr] - Change the default withdraw address for rewards associated with an address
tx distribution set-withdraw-addr [withdraw-addr] - Change the default withdraw address for rewards associated with an addresstx distribution fund-community-pool [amount] - Funds the community pool with the specified amount
tx distribution fund-community-pool [amount] - Funds the community pool with the specified amountQueries
query distribution commission [validator] - Query distribution validator commission
query distribution commission [validator] - Query distribution validator commissionquery distribution community-pool - Query the amount of coins in the community pool
query distribution community-pool - Query the amount of coins in the community poolquery distribution rewards [delegator-addr] [validator-addr] - Query all distribution delegator rewards or rewards from a particular validator
query distribution rewards [delegator-addr] [validator-addr] - Query all distribution delegator rewards or rewards from a particular validatorquery distribution slashes [validator] [start-height] [end-height] - Query distribution validator slashes
query distribution slashes [validator] [start-height] [end-height] - Query distribution validator slashesquery distribution validator-outstanding-rewards [validator] - Query distribution outstanding rewards for a validator and all their delegations
query distribution validator-outstanding-rewards [validator] - Query distribution outstanding rewards for a validator and all their delegationsquery distribution params - Query the current distribution parameters
query distribution params - Query the current distribution parametersAppendix
distribution module: Network Parameters and configuration
distribution module: Network Parameters and configurationgov
govIntroduction
Overview
Network parameters
The Governance Procedure
Transactions and Queries
Transactions
tx gov submit-proposal - Submit a proposal along with an initial deposit
tx gov submit-proposal - Submit a proposal along with an initial deposittx gov deposit [proposal-id] [deposit] - Deposit tokens for an active proposal
tx gov deposit [proposal-id] [deposit] - Deposit tokens for an active proposaltx gov vote [proposal-id] [option] - Vote for an active proposal
tx gov vote [proposal-id] [option] - Vote for an active proposalQueries
query gov proposals [proposal-id] - Query proposals with optional filters
query gov proposals [proposal-id] - Query proposals with optional filtersquery gov proposal [proposal-id] Query details of a single proposal
query gov proposal [proposal-id] Query details of a single proposalquery gov tally [proposal-id] Get the tally of a proposal vote
query gov tally [proposal-id] Get the tally of a proposal votequery gov params - Query the current gov parameters
query gov params - Query the current gov parametersAppendix
gov module: Network Parameters and configuration
gov module: Network Parameters and configurationmint
mintIntroduction
Overview
Network parameters
mint module: Queries
mint module: QueriesQueries
query mint params - Query the current minting annual provisions value
query mint params - Query the current minting annual provisions valuequery mint inflation - Query the current minting inflation value
query mint inflation - Query the current minting inflation valuequery mint annual-provisions - Query the current minting parameters
query mint annual-provisions - Query the current minting parametersAppendix
gov module: Network Parameters and configuration
gov module: Network Parameters and configurationnft
nftIntroduction
Overview
Transactions and Queries
Transactions
issue:
issue:tx nft issue [denom_id] --name [denom_name] --schema [denom_schema] --from [user_address]- Issue a denom
tx nft issue [denom_id] --name [denom_name] --schema [denom_schema] --from [user_address]- Issue a denommint:
mint:tx nft mint [denom_id] [token_id] --name [token_name] --uri [token_uri] --data [token_metadata] --recipient [recipient_address] --from [user_address]- Mint an NFT
tx nft mint [denom_id] [token_id] --name [token_name] --uri [token_uri] --data [token_metadata] --recipient [recipient_address] --from [user_address]- Mint an NFTedit:
edit:tx nft edit [denom_id] [token_id] --name [new_name] --uri [new_uri] --data [new_metadata] --from [user_address]- Edit an NFT
tx nft edit [denom_id] [token_id] --name [new_name] --uri [new_uri] --data [new_metadata] --from [user_address]- Edit an NFTburn:
burn:tx nft burn [denom_id] [token_id] --from [user_address]- Burn an NFT
tx nft burn [denom_id] [token_id] --from [user_address]- Burn an NFTtransfer:
transfer:tx nft transfer [recipient_address] [denom_id] [token_id] --from [granter_address] - Transfer an NFT
tx nft transfer [recipient_address] [denom_id] [token_id] --from [granter_address] - Transfer an NFTQueries
query nft denom [denom_id] - Query information of a denom by its denom ID
query nft denom [denom_id] - Query information of a denom by its denom IDquery nft denom-by-name [denom_name] - Query information of a denom by its denom name
query nft denom-by-name [denom_name] - Query information of a denom by its denom namequery nft supply [denom_id] - Query the number of existing NFTs in a denom
query nft supply [denom_id] - Query the number of existing NFTs in a denomquery nft supply [denom_id] --owner [owner_address] - Query the number of existing NFTs in a denom of a specific owner
query nft supply [denom_id] --owner [owner_address] - Query the number of existing NFTs in a denom of a specific ownerquery nft token [denom_id] [token_id] - Query information of an NFT
query nft token [denom_id] [token_id] - Query information of an NFTquery nft collection [denom_id] - Query information of all NFTs under a specific denom
query nft collection [denom_id] - Query information of all NFTs under a specific denomquery nft owner [owner_address] - Query information of all NFTs owned by a specific owner
query nft owner [owner_address] - Query information of all NFTs owned by a specific ownerquery nft owner [owner_address] --denom-id [denom_id] - Query information of all NFTs owned by a specific owner under specified denom
query nft owner [owner_address] --denom-id [denom_id] - Query information of all NFTs owned by a specific owner under specified denomslashing
slashingIntroduction
Overview
Network parameters
Slashing mechanism
Inactivity Slashing
Jailing
Un-jailing
Slashing for Byzantine Fault
Transactions and Queries
Transactions
tx slashing unjail - Unjailing a validator
tx slashing unjail - Unjailing a validatorQueries
query slashing params - Query the current slashing parameters
query slashing params - Query the current slashing parametersAppendix
slashing module: Network Parameters and configuration
slashing module: Network Parameters and configurationstaking
stakingIntroduction
Overview
Validator
Delegator
Transactions and Queries
Transactions
tx staking create-validator - Create new validator initialized with a self-delegation
tx staking create-validator - Create new validator initialized with a self-delegationtx staking delegate [validator-addr] [amount] - Delegate liquid tokens to a validator
tx staking delegate [validator-addr] [amount] - Delegate liquid tokens to a validatortx staking unbond [validator-addr] [amount] - Unbond shares from a validator
tx staking unbond [validator-addr] [amount] - Unbond shares from a validatortx staking redelegate [src-validator-addr] [dst-validator-addr] [amount] - Redelegate illiquid tokens from one validator to another
tx staking redelegate [src-validator-addr] [dst-validator-addr] [amount] - Redelegate illiquid tokens from one validator to anotherQueries
query staking delegation [delegator-addr] [validator-addr] - Query a delegation based on address and validator address
query staking delegation [delegator-addr] [validator-addr] - Query a delegation based on address and validator addressquery staking delegations-to [validator-addr] - Query all delegations made to one validator
query staking delegations-to [validator-addr] - Query all delegations made to one validatorquery staking pool - Query the current staking pool values
query staking pool - Query the current staking pool valuesquery staking unbonding-delegation [delegator-addr] [validator-addr] - Query an unbonding-delegation record based on delegator and validator address
query staking unbonding-delegation [delegator-addr] [validator-addr] - Query an unbonding-delegation record based on delegator and validator addressquery staking validator [validator-addr] - Query a specific validator
query staking validator [validator-addr] - Query a specific validatorquery staking validators - Query all validators
query staking validators - Query all validatorsquery staking params - Query the current staking parameters
query staking params - Query the current staking parametersAppendix
staking module: Network Parameters Configuration
staking module: Network Parameters Configurationsupply
supplyIntroduction
Queries
query supply liquid - Check the total supply of coins on the chain
query supply liquid - Check the total supply of coins on the chainquery supply liquid - Check the liquid supply of coins on the chain
query supply liquid - Check the liquid supply of coins on the chainLast updated