Skip to main content
After a transaction lands in a block, you can inspect the events it emitted and retrieve it later by hash or search criteria.

Reading Transaction Events

Successful transactions emit events that describe what happened on-chain. You can inspect these from the DeliverTxResponse:
A MsgSend transaction typically emits transfer, coin_spent, coin_received, and message events.

Looking Up by Hash

After broadcasting, you can retrieve a transaction by its hash:
This is especially useful after a TimeoutError or when using signAndBroadcastSync, where you need to check the outcome later.

Searching by Events

Search for transactions matching specific event criteria:
The query string uses CometBFT’s event query syntax. Common patterns:

Next Steps

Transaction Queries

Decode raw transaction bytes and search with advanced filters.

CosmWasm Transactions

Upload, instantiate, and execute smart contracts.