query (q)
Using the query command of the daemon, you can search all the module data listed on the chain.
When using the command, you can substitute query
to q
.
firmachaind query
subcommands-> firmachaind q
subcommands
query authz
Querying commands for the authz module.
grants
grants
Query authorization grants for a granter-grantee pair. If msg-type-url is set, it will select grants only for that msg type.
Usage
Example
query bank
Querying commands for the bank module.
balances
balances
Query the total balance of an account or of a specific denomination.
Usage
Example
denom-metadata
denom-metadata
Query the client metadata for all the registered coin denominations
Usage
total
total
Query 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-owner
Check Contract Owner by ownerAddress and fileHash
Usage
Example
list-contract-file
list-contract-file
list all contractFile
Usage
list-contract-log
list-contract-log
list all contractLog
Usage
show-contract-file
show-contract-file
shows a contractFile by index.
Usage
Example
show-contract-list-from-hash
show-contract-list-from-hash
Get Contract from contract hash
Usage
Example
show-contract-log
show-contract-log
shows a contractLog
Usage
Example
query distribution
Querying commands for the distribution module.
commission
commission
Query validator commission rewards from delegators to that validator.
Usage
Example
community-pool
community-pool
Query all coins in the community pool which is under Governance control.
Usage
params
params
Query distribution params.
Usage
rewards
rewards
Query 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
slashes
Query all slashes of a validator for a given block range.
Usage
Example
query feegrant
Querying commands for the feegrant module.
grant
grant
Query details for a grant.
Usage
Example
grants-by-grantee
grants-by-grantee
Queries all the grants for a grantee address.
Usage
Example
grants-by-granter
grants-by-granter
Queries all the grants issued for a granter address.
Usage
Example
query gov
Querying commands for the governance module
deposit
deposit
Query details for a single proposal deposit on a proposal by its identifier.
Usage
Example
deposits
deposits
Query details for all deposits on a proposal. You can find the proposal-id by running "firmachaind query gov proposals".
Usage
Example
param
param
Query the all the parameters for the governance process.
Usage
Example
params
params
Query the all the parameters for all governance process.
Usage
proposal
proposal
Query details for a proposal. You can find the proposal-id by running "firmachaind query gov proposals".
Usage
Example
proposals
proposals
Query for a all paginated proposals that match optional filters:
Usage
Example
proposer
proposer
Query which address proposed a proposal with a given ID.
Usage
Example
tally
tally
Query tally of votes on a proposal. You can find the proposal-id by running "firmachaind query gov proposals".
Usage
vote
vote
Query details for a single vote on a proposal given its identifier.
Usage
Example
votes
votes
Query vote details for a single proposal by its identifier.
Usage
Example
ibc-transfer
IBC fungible token transfer query subcommands
denom-hash
denom-hash
Query the denom hash info from a given denom trace.
Usage
Example
denom-trace
denom-trace
Query the denom trace info from a given trace hash or ibc denom
Usage
Example
denom-traces
denom-traces
Query the trace info for all token denominations
Usage
escrow-address
escrow-address
Get the escrow address for a channel.
Usage
Example
params
params
Query the current ibc-transfer parameters
Usage
mint
Querying commands for the minting module.
annual-provisions
annual-provisions
Query the current minting annual provisions value.
Usage
inflation
inflation
Query the current minting inflation value
Usage
params
params
Query the current minting parameters
Usage
nft
Querying commands for the nft module
balance-of
balance-of
Query balanceOf
Usage
list-nft-id-of-owner
list-nft-id-of-owner
Query Nft ID List Of Owner
Usage
Example
list-nft-item
list-nft-item
list all nftItem
Usage
show-nft-item
show-nft-item
shows a nftItem
Usage
Example
params
Querying commands for the params module
subspace
subspace
Usage
Example
slashing
Querying commands for the slashing module
params
params
Query genesis parameters for the slashing module.
Usage
signing
signing
Use a validators' consensus public key to find the signing-info for that validator.
Usage
Example
signing-infos
signing-infos
signing infos of validators
Usage
staking
Querying commands for the staking module
delegation
delegation
Query delegations for an individual delegator on an individual validator.
Usage
Example
delegations
delegations
Query delegations for an individual delegator on all validators.
Usage
Example
delegations-to
delegations-to
Query delegations on an individual validator.
Usage
Example
historical-info
historical-info
Query historical info at given height.
Usage
Example
params
params
Query values set as staking parameters.
Usage
pool
pool
Query values for amounts stored in the staking pool.
Usage
redelegation
redelegation
Query a redelegation record for an individual delegator between a source and destination validator.
Usage
Example
redelegations
redelegations
Query all redelegation records for an individual delegator.
Usage
Example
redelegations-from
redelegations-from
Query delegations that are redelegating from a validator.
Usage
Example
unbonding-delegation
unbonding-delegation
Query unbonding delegations for an individual delegator on an individual validator.
Usage
Example
unbonding-delegations
unbonding-delegations
Query unbonding delegations for an individual delegator.
Usage
Example
unbonding-delegations-from
unbonding-delegations-from
Query delegations that are unbonding 'from' a validator.
Usage
Example
validator
validator
Query details about an individual validator.
Usage
Example
validators
validators
Query 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-address
build contract address
Usage
Example
code
code
Downloads wasm bytecode for given code id
Usage
Example
code-info
code-info
Prints out metadata of a code id
Usage
Example
contract
contract
Prints out metadata of a contract given its address
contract-history
contract-history
Prints out the code history for a contract given its address.
Usage
Example
contract-state all
contract-state all
Prints out all internal state of a contract given its address
Usage
Example
contract-state raw
contract-state raw
Prints out internal state for of a contract given its address
Usage
Example
contract-state smart
contract-state smart
Calls contract with given address with query data and prints the returned result
Usage
Example
libwasmvm-version
libwasmvm-version
Get libwasmvm version
Usage
list-code
list-code
List all wasm bytecode on the chain
Usage
list-contract-by-code
list-contract-by-code
List wasm all bytecode on the chain for given code id
Usage
Example
params
params
Query the current wasm parameters
Usage
pinned
pinned
List all pinned code ids
Usage
Last updated