query (q)
Using the query command of the daemon, you can search all the module data listed on the chain.
query authz
Querying commands for the authz module.
grants
grantsQuery authorization grants for a granter-grantee pair. If msg-type-url is set, it will select grants only for that msg type.
Usage
firmachaind query authz grants <granter-addr> <grantee-addr>Example
firmachaind query authz grants firma1thh.. firma1nss.. /cosmos.bank.v1beta1.MsgSendquery bank
Querying commands for the bank module.
balances
balancesQuery the total balance of an account or of a specific denomination.
Usage
Example
denom-metadata
denom-metadataQuery the client metadata for all the registered coin denominations
Usage
total
totalQuery total supply of coins that are held by accounts in the chain.
Usage
query block
Get verified data for a the block at given height.
Usage
Example
query contract
Querying commands for the contract module.
is-contract-owner
is-contract-ownerCheck Contract Owner by ownerAddress and fileHash
Usage
Example
list-contract-file
list-contract-filelist all contractFile
Usage
list-contract-log
list-contract-loglist all contractLog
Usage
show-contract-file
show-contract-fileshows a contractFile by index.
Usage
Example
show-contract-list-from-hash
show-contract-list-from-hashGet Contract from contract hash
Usage
Example
show-contract-log
show-contract-logshows a contractLog
Usage
Example
query distribution
Querying commands for the distribution module.
commission
commissionQuery validator commission rewards from delegators to that validator.
Usage
Example
community-pool
community-poolQuery all coins in the community pool which is under Governance control.
Usage
params
paramsQuery distribution params.
Usage
rewards
rewardsQuery all rewards earned by a delegator, optionally restrict to rewards from a single validator.
Usage
Example
By putting in the command provided in the above example, you can check the total amount of your reward. Furthermore, if you wish to check the amount of reward accrued from a particular Validator, you can add the validator-address at the back of the delegate-address as provided in the example below.
Usage
Example
slashes
slashesQuery all slashes of a validator for a given block range.
Usage
Example
query feegrant
Querying commands for the feegrant module.
grant
grantQuery details for a grant.
Usage
Example
grants-by-grantee
grants-by-granteeQueries all the grants for a grantee address.
Usage
Example
grants-by-granter
grants-by-granterQueries all the grants issued for a granter address.
Usage
Example
query gov
Querying commands for the governance module
deposit
depositQuery details for a single proposal deposit on a proposal by its identifier.
Usage
Example
deposits
depositsQuery details for all deposits on a proposal. You can find the proposal-id by running "firmachaind query gov proposals".
Usage
Example
param
paramQuery the all the parameters for the governance process.
Usage
Example
params
paramsQuery the all the parameters for all governance process.
Usage
proposal
proposalQuery details for a proposal. You can find the proposal-id by running "firmachaind query gov proposals".
Usage
Example
proposals
proposalsQuery for a all paginated proposals that match optional filters:
Usage
Example
proposer
proposerQuery which address proposed a proposal with a given ID.
Usage
Example
tally
tallyQuery tally of votes on a proposal. You can find the proposal-id by running "firmachaind query gov proposals".
Usage
vote
voteQuery details for a single vote on a proposal given its identifier.
Usage
Example
votes
votesQuery vote details for a single proposal by its identifier.
Usage
Example
ibc-transfer
IBC fungible token transfer query subcommands
denom-hash
denom-hashQuery the denom hash info from a given denom trace.
Usage
Example
denom-trace
denom-traceQuery the denom trace info from a given trace hash or ibc denom
Usage
Example
denom-traces
denom-tracesQuery the trace info for all token denominations
Usage
escrow-address
escrow-addressGet the escrow address for a channel.
Usage
Example
params
paramsQuery the current ibc-transfer parameters
Usage
mint
Querying commands for the minting module.
annual-provisions
annual-provisionsQuery the current minting annual provisions value.
Usage
inflation
inflationQuery the current minting inflation value
Usage
params
paramsQuery the current minting parameters
Usage
nft
Querying commands for the nft module
balance-of
balance-ofQuery balanceOf
Usage
list-nft-id-of-owner
list-nft-id-of-ownerQuery Nft ID List Of Owner
Usage
Example
list-nft-item
list-nft-itemlist all nftItem
Usage
show-nft-item
show-nft-itemshows a nftItem
Usage
Example
params
Querying commands for the params module
subspace
subspaceUsage
Example
slashing
Querying commands for the slashing module
params
paramsQuery genesis parameters for the slashing module.
Usage
signing
signingUse a validators' consensus public key to find the signing-info for that validator.
Usage
Example
signing-infos
signing-infossigning infos of validators
Usage
staking
Querying commands for the staking module
delegation
delegationQuery delegations for an individual delegator on an individual validator.
Usage
Example
delegations
delegationsQuery delegations for an individual delegator on all validators.
Usage
Example
delegations-to
delegations-toQuery delegations on an individual validator.
Usage
Example
historical-info
historical-infoQuery historical info at given height.
Usage
Example
params
paramsQuery values set as staking parameters.
Usage
pool
poolQuery values for amounts stored in the staking pool.
Usage
redelegation
redelegationQuery a redelegation record for an individual delegator between a source and destination validator.
Usage
Example
redelegations
redelegationsQuery all redelegation records for an individual delegator.
Usage
Example
redelegations-from
redelegations-fromQuery delegations that are redelegating from a validator.
Usage
Example
unbonding-delegation
unbonding-delegationQuery unbonding delegations for an individual delegator on an individual validator.
Usage
Example
unbonding-delegations
unbonding-delegationsQuery unbonding delegations for an individual delegator.
Usage
Example
unbonding-delegations-from
unbonding-delegations-fromQuery delegations that are unbonding 'from' a validator.
Usage
Example
validator
validatorQuery details about an individual validator.
Usage
Example
validators
validatorsQuery details about all validators on a network.
Usage
tx
Search transactions using the transaction hash, account sequence and signature information.
Usage (for hash)
Usage (for account sequence)
Usage (for signature)
txs
Search for transactions that match the exact given events where results are paginated. Each event takes the form of '{eventType}.{eventAttribute}={value}'. Please refer to each module's documentation for the full set of events to query for. Each module documents its respective events under 'xx_events.md'.
Usage
Example
wasm
Querying commands for the wasm module
build-address
build-addressbuild contract address
Usage
Example
code
codeDownloads wasm bytecode for given code id
Usage
Example
code-info
code-infoPrints out metadata of a code id
Usage
Example
contract
contractPrints out metadata of a contract given its address
contract-history
contract-historyPrints out the code history for a contract given its address.
Usage
Example
contract-state all
contract-state allPrints out all internal state of a contract given its address
Usage
Example
contract-state raw
contract-state rawPrints out internal state for of a contract given its address
Usage
Example
contract-state smart
contract-state smartCalls contract with given address with query data and prints the returned result
Usage
Example
libwasmvm-version
libwasmvm-versionGet libwasmvm version
Usage
list-code
list-codeList all wasm bytecode on the chain
Usage
list-contract-by-code
list-contract-by-codeList wasm all bytecode on the chain for given code id
Usage
Example
params
paramsQuery the current wasm parameters
Usage
pinned
pinnedList all pinned code ids
Usage
Last updated