Tendermint RPC

The CometBFT (Tendermint) JSON-RPC interface for TAC: node and consensus info, block and transaction reads, mempool inspection, transaction broadcast, low-level abci_query state reads, and WebSocket event subscriptions. The same methods are available over HTTP (JSON-RPC POST or URI GET) and over WebSocket for subscriptions.

Endpoints

bashhttps://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
bashwss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/websocket

Available API Methods

Node Info & Health

MethodDescription
healthReturns an empty result if the node is healthy; otherwise an error
statusReturns node information: protocol and software version, network (chain id), latest block hash, app hash, block height and time, and the node's validator info and sync state
net_infoReturns peer-to-peer network information: the number of connected peers, listeners, and per-peer connection details

Blocks & Chain

MethodDescription
blockchainReturns block metadata (headers) for a range of heights, newest first
blockReturns the block at a given height, including its header, data (transactions), and commit
block_by_hashReturns a block by its hash
block_resultsReturns the results of all transactions in a block: per-tx execution results, and the block's begin/end-block events and validator/consensus-param updates
commitReturns the commit (validator signatures) for a block at a given height, with a flag indicating whether it is canonical
headerReturns the block header at a given height
header_by_hashReturns a block header by its hash

Consensus & Validators

MethodDescription
validatorsReturns the validator set at a given height, paginated
consensus_stateReturns the current consensus state (round, step, and vote state) of the node
dump_consensus_stateReturns the full consensus state: the node's round state plus the state of all peers
consensus_paramsReturns the consensus parameters (block size, evidence, and validator params) at a given height
genesisReturns the genesis document
genesis_chunkedReturns the genesis document in chunks, for chains whose genesis is too large to return in one response

Transactions

MethodDescription
txReturns a transaction by its hash, with its execution result and (optionally) a Merkle inclusion proof
tx_searchSearches transactions by an event-attribute query, with pagination and ordering
block_searchSearches blocks by an event-attribute query (over begin/end-block events), with pagination and ordering
broadcast_tx_syncBroadcasts a transaction and returns after CheckTx (mempool validation), without waiting for the transaction to be included in a block
broadcast_tx_asyncBroadcasts a transaction and returns immediately, without running CheckTx or waiting for inclusion
broadcast_tx_commitBroadcasts a transaction and waits until it is committed in a block, returning both the CheckTx and the DeliverTx (execution) results
check_txRuns a CheckTx against the application for a transaction without broadcasting it, returning the validation result

Mempool

MethodDescription
unconfirmed_txsReturns transactions currently in the mempool, up to an optional limit
num_unconfirmed_txsReturns the count and total size of transactions in the mempool, without the transaction bodies

ABCI Application Queries

MethodDescription
abci_infoReturns information about the ABCI application: its version and the last block height and app hash it has committed
abci_queryRuns an ABCI query against the application at a given path, optionally at a historical height and with a Merkle proof

WebSocket Subscriptions

MethodDescription
subscribeSubscribes to events matching a Tendermint event query, over the WebSocket endpoint
unsubscribeCancels a specific subscription on the WebSocket connection, identified by its event query
unsubscribe_allCancels all subscriptions on the current WebSocket connection

See Also