# Functions
No description provided by the author
GetBlockByHeight get block by height.
GetChainHeight returns the current blockchain height.
Examples: tm.event = 'NewBlock' # new blocks tm.event = 'CompleteProposal' # node got a complete proposal tm.event = 'Tx' AND tx.hash = 'XYZ' # single transaction tm.event = 'Tx' AND tx.height = 5 # all txs of the fifth block tx.height = 5 # all txs of the fifth block
For more information, see the /subscribe CometBFT RPC endpoint documentation.
QueryEventForTxCmd is an alias for WaitTxCmd, kept for backwards compatibility.
WaitTxCmd returns a CLI command that waits for a transaction with the given hash to be included in a block.
# Constants
No description provided by the author