Skip to main content
Version: v6.0.0

okp4d_query_ibc_client_consensus-states

okp4d query ibc client consensus-states

Query all the consensus states of a client.

Synopsis

Query all the consensus states from a given client state.

okp4d query ibc client consensus-states [client-id] [flags]

Examples

okp4d query ibc client consensus-states [client-id]

Options

      --count-total        count total number of records in consensus states to query for
--grpc-addr string the gRPC endpoint to use for this chain
--grpc-insecure allow gRPC over insecure channels, if not the server must use TLS
--height int Use a specific height to query state at (this can error if the node is pruning state)
-h, --help help for consensus-states
--limit uint pagination limit of consensus states to query for (default 100)
--node string <host>:<port> to CometBFT RPC interface for this chain (default "tcp://localhost:26657")
--offset uint pagination offset of consensus states to query for
-o, --output string Output format (text|json) (default "text")
--page uint pagination page of consensus states to query for. This sets offset to a multiple of limit (default 1)
--page-key string pagination page-key of consensus states to query for
--reverse results are sorted in descending order

SEE ALSO