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

Query 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.MsgSend

query bank

Querying commands for the bank module.

balances

Query the total balance of an account or of a specific denomination.

Usage

Example

denom-metadata

Query the client metadata for all the registered coin denominations

Usage

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

Check Contract Owner by ownerAddress and fileHash

Usage

Example

list-contract-file

list all contractFile

Usage

list-contract-log

list all contractLog

Usage

show-contract-file

shows a contractFile by index.

Usage

Example

show-contract-list-from-hash

Get Contract from contract hash

Usage

Example

show-contract-log

shows a contractLog

Usage

Example

query distribution

Querying commands for the distribution module.

commission

Query validator commission rewards from delegators to that validator.

Usage

Example

community-pool

Query all coins in the community pool which is under Governance control.

Usage

params

Query distribution params.

Usage

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

Query all slashes of a validator for a given block range.

Usage

Example

query feegrant

Querying commands for the feegrant module.

grant

Query details for a grant.

Usage

Example

grants-by-grantee

Queries all the grants for a grantee address.

Usage

Example

grants-by-granter

Queries all the grants issued for a granter address.

Usage

Example

query gov

Querying commands for the governance module

deposit

Query details for a single proposal deposit on a proposal by its identifier.

Usage

Example

deposits

Query details for all deposits on a proposal. You can find the proposal-id by running "firmachaind query gov proposals".

Usage

Example

param

Query the all the parameters for the governance process.

Usage

Example

params

Query the all the parameters for all governance process.

Usage

proposal

Query details for a proposal. You can find the proposal-id by running "firmachaind query gov proposals".

Usage

Example

proposals

Query for a all paginated proposals that match optional filters:

Usage

Example

proposer

Query which address proposed a proposal with a given ID.

Usage

Example

tally

Query tally of votes on a proposal. You can find the proposal-id by running "firmachaind query gov proposals".

Usage

vote

Query details for a single vote on a proposal given its identifier.

Usage

Example

votes

Query vote details for a single proposal by its identifier.

Usage

Example

ibc-transfer

IBC fungible token transfer query subcommands

denom-hash

Query the denom hash info from a given denom trace.

Usage

Example

denom-trace

Query the denom trace info from a given trace hash or ibc denom

Usage

Example

denom-traces

Query the trace info for all token denominations

Usage

escrow-address

Get the escrow address for a channel.

Usage

Example

params

Query the current ibc-transfer parameters

Usage

mint

Querying commands for the minting module.

annual-provisions

Query the current minting annual provisions value.

Usage

inflation

Query the current minting inflation value

Usage

params

Query the current minting parameters

Usage

nft

Querying commands for the nft module

balance-of

Query balanceOf

Usage

list-nft-id-of-owner

Query Nft ID List Of Owner

Usage

Example

list-nft-item

list all nftItem

Usage

show-nft-item

shows a nftItem

Usage

Example

params

Querying commands for the params module

subspace

Usage

Example

slashing

Querying commands for the slashing module

params

Query genesis parameters for the slashing module.

Usage

signing

Use a validators' consensus public key to find the signing-info for that validator.

Usage

Example

signing-infos

signing infos of validators

Usage

staking

Querying commands for the staking module

delegation

Query delegations for an individual delegator on an individual validator.

Usage

Example

delegations

Query delegations for an individual delegator on all validators.

Usage

Example

delegations-to

Query delegations on an individual validator.

Usage

Example

historical-info

Query historical info at given height.

Usage

Example

params

Query values set as staking parameters.

Usage

pool

Query values for amounts stored in the staking pool.

Usage

redelegation

Query a redelegation record for an individual delegator between a source and destination validator.

Usage

Example

redelegations

Query all redelegation records for an individual delegator.

Usage

Example

redelegations-from

Query delegations that are redelegating from a validator.

Usage

Example

unbonding-delegation

Query unbonding delegations for an individual delegator on an individual validator.

Usage

Example

unbonding-delegations

Query unbonding delegations for an individual delegator.

Usage

Example

unbonding-delegations-from

Query delegations that are unbonding 'from' a validator.

Usage

Example

validator

Query details about an individual validator.

Usage

Example

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 contract address

Usage

Example

code

Downloads wasm bytecode for given code id

Usage

Example

code-info

Prints out metadata of a code id

Usage

Example

contract

Prints out metadata of a contract given its address

contract-history

Prints out the code history for a contract given its address.

Usage

Example

contract-state all

Prints out all internal state of a contract given its address

Usage

Example

contract-state raw

Prints out internal state for of a contract given its address

Usage

Example

contract-state smart

Calls contract with given address with query data and prints the returned result

Usage

Example

libwasmvm-version

Get libwasmvm version

Usage

list-code

List all wasm bytecode on the chain

Usage

list-contract-by-code

List wasm all bytecode on the chain for given code id

Usage

Example

params

Query the current wasm parameters

Usage

pinned

List all pinned code ids

Usage

Last updated