Use Herd with Sazabi: decode on-chain transactions during an incident
Last verified on Nov 8, 2026.
If your product moves value on a blockchain, some incidents have two halves. Your backend logs a failed submission, and the explanation sits on-chain: a reverted call, a contract that was upgraded under you, a relayer wallet that ran low. Looking those up means switching to a block explorer and reading traces by hand.
Sazabi is AI-native observability and security. With Herd connected, the Sazabi agent reads the on-chain half in the same thread as your service logs, so you can line up a log error with the transaction it refers to.
What the Sazabi agent can do with Herd
Herd runs a hosted MCP server and authenticates with OAuth, so access follows your Herd account. The Sazabi connector page lists four areas, and Herd's docs name the tools behind them:
- Contracts.
contractMetadataToolreads ABI signatures, deployment details and token information. It follows proxy implementations and returns the full known implementation history.getContractCodeToolsearches verified source, andgetDeployedContractsToollists what a deployer or factory created. - Transactions.
queryTransactionTooldecodes traces, logs, transfers, balance changes and contract creations for one real or simulated transaction.getLatestFunctionTransactionsToolandgetLatestEventTransactionsToolreturn the latest 20 matching calls or events for a contract. - Wallets.
getWalletOverviewTool,getTokenActivityToolandgetTransactionActivityToolsummarize balances, token transfers and enriched activity for an address. - HAL actions. Herd Action Language lets the agent build, search and simulate actions before anything runs on mainnet.
One limit matters when you plan an investigation. Herd separates registered chains from fully indexed ones. Transaction inspection works on all registered EVM chains. Function and event search and wallet analysis need Base, Ethereum or Monad.
Questions it answers
- What did this reverted transaction call, and which trace step failed?
- Was the contract's implementation upgraded before the errors started?
- Which functions on this contract were called most recently, and with what arguments?
- What is the token balance and recent transfer history of our relayer address?
- Did a simulated call actually run, or hit an address with no code?
A worked example: submissions fail after a contract change
Your backend starts logging execution reverted for settlement submissions on Base. You ask:
Our settlement service logs reverts on Base since about 09:40 UTC. Using
Herd, check whether the proxy at 0x00000000000000000000000000000000000000a1
changed implementation recently, decode the failed transaction
0x00000000000000000000000000000000000000000000000000000000deadbeef,
and show the latest calls to settle() on that contract.The agent starts with contractMetadataTool, since it returns the proxy's implementation history, and notes whether a new implementation appears before 09
queryTransactionTool to find the call frame that reverted. Then it uses getLatestFunctionTransactionsTool with the function name settle, which resolves the signature from the ABI, and compares the arguments of recent successful calls with the failing one. Argument values come back raw, so it reads units from the ABI types.
The output is a short chain of evidence: when the implementation changed, which internal call reverted and how successful calls differ. Your logs supply the other side, such as which requests produced that hash.
Keeping it read-only
The Sazabi docs say writes are governed by the per-connection read-only toggle. For incident work, that is the sensible default. Herd also warns that a successful simulation can still call an address with no deployed code, so zero gas and no calls or logs mean nothing ran. Ask the agent to say so when it sees that.
How it fits with other integrations
On-chain data answers part of the question. Your own telemetry answers the rest, and it arrives through OpenTelemetry or your cloud, such as AWS. If the settlement flow runs as a workflow, see durable execution. Browse everything on the integrations page, and see pricing for Sazabi plans.
Ways to connect
- Herd (MCP connector): Give the Sazabi agent tools to research contracts, wallets, transactions, and on-chain workflows through Herd.
Frequently Asked Questions
Which chains does Herd cover?
Herd accepts many EVM chains, such as Arbitrum, Optimism and Polygon, for transaction inspection and simulation. Full historical indexing, which powers activity search and wallet analysis, covers Base, Ethereum and Monad.
Can the Sazabi agent send transactions?
The Sazabi docs say the agent can build, search and simulate Herd HAL actions. Herd lists separate tools for planning mainnet batches and for agent wallets. Turn on the per-connection read-only toggle if you want research only.
What does a decoded transaction include?
queryTransactionTool returns traces, logs, transfers, balance changes and contract creations for one real or simulated transaction. Transfer and balance amounts are decimal-adjusted, while trace and log values stay raw.
Does Herd send my backend logs anywhere?
No. The agent asks Herd for chain data when you ask a question. Your backend logs reach Sazabi separately, for example through OpenTelemetry.
Sources
- Herd connects to Sazabi through one method, an MCP connector (accessed Nov 8, 2026)
- Hosted server at mcp.herd.eco/v1, OAuth, per-connection read-only toggle, and the agent abilities for contracts, transactions, wallets and HAL actions (accessed Nov 8, 2026)
- Herd covers EVM activity; capabilities depend on plan and chain indexing tier; OAuth sign-in with no pasted token (accessed Nov 8, 2026)
- queryTransactionTool decodes traces, logs, transfers and balance changes for one transaction; getLatestFunctionTransactionsTool and getLatestEventTransactionsTool return the latest 20 matches on Base, Ethereum and Monad (accessed Nov 8, 2026)
- contractMetadataTool follows proxy implementations and returns the complete known implementation history; getContractCodeTool searches verified source (accessed Nov 8, 2026)
- Fully indexed chains are Base, Ethereum and Monad; other registered EVM chains support transaction inspection and HAL reads and simulations only (accessed Nov 8, 2026)