Explain an on-chain transaction in plain English
How can an AI agent explain what a blockchain transaction did, in plain English?
Call GET /v1/chain/tx/explain with the transaction hash. It returns the status, block time, gas and fee, the decoded call, every decoded event (token transfers, approvals, Uniswap v2, v3 and v4 swaps and more) with token symbols, and a one-sentence plain-English summary such as “swapped 100 USDG for 0.03 WETH”.
Example: a USDG transfer on Robinhood Chain
Example call: chain-tx-explain
Parameters
| Param | Values | Default |
|---|---|---|
| hash | Transaction hash: 0x followed by 64 hex characters | required |
| chain | robinhood (4663) or base (8453) | robinhood |
When agents use it
- Confirm that a transaction the agent sent did what it meant to do.
- Report activity to a person in one sentence, with a link to the block explorer (explorer_url).
- Read a counterparty’s transaction before trusting it.
An unknown or still pending hash is not charged. To check a transaction before it is sent, simulate it instead.
FAQ
Does it work for swaps?
Yes. Uniswap v2, v3 and v4 swaps are decoded into swaps with token symbols and amounts, and the summary names them.
What if the transaction is still pending?
The call fails and is not charged. Try again once the transaction is mined.
Updated 2026-11-16.