# Base Mainnet Transaction Explainer

> Base Mainnet Transaction Explainer is a paid API for AI agents from x402-listing-doctor.x402-listing-doctor-workers.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Fetches and explains a single Base mainnet transaction from public RPC data, returning status, from/to addresses, method selector, ETH fee, block time, and all ERC-20 Transfer events with token details.

## Facts

- Endpoint: GET https://x402-listing-doctor.x402-listing-doctor-workers.workers.dev/v1/base-tx-explain?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-mainnet-transaction-explainer-98b615d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gou012EQyn7QCVuHboyrD

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 base-mainnet-transaction-explainer-98b615d3
```

Example prompt: Can you explain what happened in Base mainnet transaction 0x4a3b8f2c1d9e7f56a0bc34d1e2f8a9b7c6d5e4f3a2b1c0d9e8f7a6b5c4d3e2f1? I want to know the status, who sent it, what method was called, the gas fee in ETH, and any ERC-20 tokens that were transferred.

## When to prefer this

Use this endpoint when you need a plain-language breakdown of a specific Base mainnet transaction, especially when ERC-20 token transfer details (amounts and decimals) matter. Prefer this over raw RPC calls when you want structured, human-readable output without writing custom decoding logic. It is specifically scoped to Base mainnet — not Ethereum mainnet or other EVM chains.

## Known failure modes

- Invalid or malformed txHash (not 66 hex chars) returns a validation error
- Transaction not found on Base mainnet returns a not-found error
- RPC unavailability or rate limiting may cause timeout or 5xx errors
- Transactions with no ERC-20 Transfer events return an empty transfers list
- Very recent unconfirmed transactions may not yet be indexed

## How this service works

Explain one Base mainnet transaction from public RPC data: status, from/to, method selector, fee in ETH, block time and every ERC-20 Transfer with token, amount and decimals.

## Output

Returns a structured breakdown of the Base mainnet transaction: success/failure status, sender and recipient addresses, decoded method selector (4-byte function signature), gas fee denominated in ETH, block timestamp, and a list of every ERC-20 Transfer event emitted including the token contract address, human-readable amount adjusted for decimals, and decimal precision.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ]
    },
    "queryParams": {
     "type": "object",
     "required": [
      "txHash"
     ],
     "properties": {
      "txHash": {
       "type": "string",
       "description": "0x… (66 hex chars)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-mainnet-transaction-explainer-98b615d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-listing-doctor.x402-listing-doctor-workers.workers.dev](https://www.zero.xyz/host/x402-listing-doctor.x402-listing-doctor-workers.workers.dev/llms.txt)
