# agent402.tools Transaction Forensics

> agent402.tools Transaction Forensics is a paid API for AI agents from agent402.tools, paid per call via x402, $0.011/call, status unknown (last checked 2026-09-15).

Decodes and explains what an EVM transaction actually did — including confirmation status, raw transaction data, decoded calldata with typed parameters, resolved function signature, and labeled contract addresses.

## Facts

- Endpoint: POST https://agent402.tools/api/skill/tx-forensics
- Price: $0.011/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-transaction-forensics-93ac6a67
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Jfp4mK4_obNzR3x1l9yaf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent402-tools-transaction-forensics-93ac6a67 -d '<json body>'
```

Example prompt: Can you break down exactly what this Base transaction did — give me the confirmation status, decoded calldata with typed parameters, the function signature, and any labeled contracts? The hash is 0x4e3a1b2c9f8d7e6a5b4c3d2e1f0a9b8c7d6e5f4a3b2c1d0e9f8a7b6c5d4e3f2a.

## When to prefer this

Use this endpoint when you need a comprehensive, single-call forensic breakdown of an EVM transaction — especially when you want decoded calldata with typed parameters and labeled contracts rather than just raw hex data. Prefer this over building your own decode pipeline when working across multiple EVM networks (Ethereum, Base, Polygon, Arbitrum, Optimism).

## Known failure modes

- Invalid or malformed transaction hash returns an error
- Transaction hash not found on the specified network
- Unsupported network name causes rejection
- Unverified or unknown contract ABI may result in partially decoded or raw calldata
- Network RPC unavailability could cause timeout or fetch failure

## How this service works

Bundled execution of the Transaction forensics workflow - Explain what an EVM transaction actually did: confirmation status, the raw transaction from the chain, decoded calldata with typed parameters, the resolved function signature, and labeled counterparties. One x402 payment runs 5 underlying tools (tx-status, evm-rpc, calldata-decode, selector-lookup, address-label); partial-success per step.

## Output

Returns a bundled forensics report for the given EVM transaction including: confirmation status, raw on-chain transaction data, decoded calldata with named and typed parameters, the resolved human-readable function signature, and labeled addresses for known contracts involved in the transaction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": "string",
   "description": "0x-prefixed 32-byte transaction hash"
  },
  "network": {
   "type": "string",
   "description": "EVM network (ethereum / base / polygon / arbitrum / optimism, default base)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "args": {
   "hash": "0x1c0592f73d1f9182ee9bd40eb34d9b6c70b3196814b111589b82df4e79e7fb59",
   "network": "base"
  },
  "pack": "tx-forensics",
  "steps": [
   {
    "ok": true,
    "slug": "tx-status",
    "result": {}
   },
   {
    "ok": true,
    "slug": "evm-rpc",
    "result": {}
   },
   {
    "ok": true,
    "slug": "calldata-decode",
    "result": {}
   },
   {
    "ok": true,
    "slug": "selector-lookup",
    "result": {}
   },
   {
    "ok": true,
    "slug": "address-label",
    "result": {}
   }
  ],
  "summary": "5/5 steps succeeded"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-transaction-forensics-93ac6a67/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
