See the Cosmos RPC API connection guide.
CometBFT RPC
CometBFT RPC| Method | Notes | Compute Unit Value |
|---|---|---|
abci_info | Returns metadata reported by the ABCI application. | 1 |
abci_query | Queries the ABCI application at an optional path and height. | 5 |
block | Returns a block at a specified height. | 5 |
block_by_hash | Returns a block identified by its hash. | 5 |
block_results | Returns execution results for a block. | 5 |
block_search | Searches blocks using indexed events. | 100 |
blockchain | Returns block metadata for an inclusive height range. | 10 |
broadcast_tx_async | Broadcasts a transaction without waiting for validation. | 5 |
broadcast_tx_commit | Broadcasts a transaction and waits for it to be committed or rejected. | 5 |
broadcast_tx_sync | Broadcasts a transaction and waits for the CheckTx result. | 5 |
check_tx | Checks a transaction against the application without executing it in a block. | 10 |
commit | Returns a block header and commit for a specified height. | 5 |
consensus_params | Returns consensus parameters at a specified height. | 5 |
consensus_state | Returns a concise snapshot of the current consensus state. | 5 |
dump_consensus_state | Returns detailed consensus state, including peer round states. | 50 |
genesis | Returns the genesis document. | 1 |
genesis_chunked | Returns one chunk of the chunked genesis document. | 1 |
health | Returns success when the node is healthy. | 1 |
net_info | Returns node peer and network information. | 1 |
num_unconfirmed_txs | Returns counts for transactions in the mempool. | 1 |
status | Returns node, validator, and latest-block status. | 1 |
tx | Returns a transaction and its execution result by hash. | 5 |
tx_search | Searches transactions using indexed events. | 50 |
validators | Returns validators for a specified height. | 5 |
unconfirmed_txs | Returns transactions currently in the mempool. | 50 |
