Skip to main content
Beyond module-specific queries, the CometBFT RPC layer provides block-level and chain-level information. You can access basic block data through StargateClient or use the CometBFT client directly for advanced queries.

Chain Status

Block Data

Using the CometBFT Client Directly

For advanced block queries (block results, validator sets, block search), use the CometBFT client directly:

Available CometBFT Methods

Historical Queries

QueryClient.queryAbci accepts an optional desiredHeight parameter, allowing you to query chain state as it existed at a specific block height:
The built-in extensions do not expose height parameters directly. For historical queries, use the lower-level queryAbci method or construct an RPC client that targets a specific height. This is primarily useful for building block explorers or auditing state changes.

Next Steps

Transaction Queries

Search and decode transactions.

Querying Overview

All available query methods.