CometBFT
CometBFT methods
📄️ broadcast_tx_sync
Returns with the response from CheckTx. Does not wait for DeliverTx result. If you want to be sure that the transaction is included in a block, you can
📄️ broadcast_tx_async
Returns right away, with no response. Does not wait for CheckTx nor DeliverTx results. If you want to be sure that the transaction is included in a block, you can
📄️ broadcast_tx_commit
Returns with the responses from CheckTx and DeliverTx. IMPORTANT: use only for testing and development. In production, use
📄️ check_tx
Checks the transaction without executing it. The transaction won't be added to the mempool.
📄️ health
Get node health. Returns empty result (200 OK) on success, no response - in case of an error.
📄️ status
Get CometBFT node status including node info, pubkey, latest block hash, app hash, block height and time.
📄️ net_info
Get network information.
📄️ dial_seeds (unsafe)
Dial a peer, this route in under unsafe, and has to manually enabled to use
📄️ dial_peers (unsafe)
Add Peers/Persistent Peers. Set a persistent peer, this route in under unsafe, and has to manually enabled to use.
📄️ blockchain
Get block headers (max: 20) for minHeight <= height <= maxHeight.
📄️ header
Get Header at a specified height.
📄️ header_by_hash
Get Header By Hash.
📄️ block
Get block at a specified height.
📄️ block_by_hash
Get Block By Hash.
📄️ block_results
Get block results at a specified height.
📄️ commit
Get commit results at a specified height.
📄️ validators
Get validator set at a specified height. Validators are sorted first by voting power
📄️ genesis
Get genesis.
📄️ genesis_chunked
Get genesis document in multiple chunks to make it easier to iterate
📄️ dump_consensus_state
Get consensus state.
📄️ consensus_state
Get consensus state.
📄️ consensus_params
Get consensus parameters.
📄️ unconfirmed_txs
Get the list of unconfirmed transactions
📄️ num_unconfirmed_txs
Get data about unconfirmed transactions
📄️ tx_search
Search for transactions w/ their results.
📄️ block_search
Search for blocks by FinalizeBlock events.
📄️ tx
Get a transaction by hash
📄️ abci_info
Get info about the application.
📄️ abci_query
Query the application for some information.
📄️ broadcast_evidence
Broadcast evidence of the misbehavior.