# BaseLens Transaction Explainer

> BaseLens Transaction Explainer is a paid API for AI agents from baselens.imac2014ville.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Looks up a Base blockchain transaction by hash and returns a human-readable summary, status, fee, and confirmation count

## Facts

- Endpoint: GET https://baselens.imac2014ville.workers.dev/tx?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/baselens-transaction-explainer-5f37c671
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7cA4RjcM1nugrZapK0Cef

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 baselens-transaction-explainer-5f37c671
```

Example prompt: Can you explain what this Base transaction did: 0x3a7f2c1d8e9b4056af12c3d7e8f91a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f? I want to know if it succeeded, what was transferred, and what the fee was.

## When to prefer this

Use this endpoint when you need a fast, pay-per-call (no API key) explanation of a specific Base L2 transaction — ideal for AI agents that need to verify payments, audit DeFi activity, or debug failures without setting up infrastructure. Prefer over block explorers when you need machine-readable structured output rather than HTML pages.

## Known failure modes

- Invalid or malformed tx hash returns not-found or error response
- Transaction not yet indexed may return found:false even if submitted
- Network issues with Base RPC may cause timeouts
- Very recent transactions may have 0 confirmations and incomplete data
- Hash for a different chain (Ethereum mainnet, etc.) will not be found

## How this service works

Honeypot check and rug pull check for Base tokens (is this token safe?), new token launches feed for snipers, cheapest cloud GPU prices, web page to markdown scraper. Also tx explainer, wallet balances, x402 checker. No API key: pay USDC on Base per call via x402.

## Output

Returns a JSON object with: 'found' (boolean indicating if the tx exists), 'status' (success/failure/pending), 'summary' (array of human-readable strings describing what happened, e.g. token transfers), 'feeEth' (gas fee paid in ETH as a string), and 'confirmations' (integer block confirmation count).

## 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": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "hash"
     ],
     "properties": {
      "hash": {
       "type": "string",
       "description": "Base tx hash (0x + 64 hex)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "found": true,
  "feeEth": "0.0000021",
  "status": "success",
  "summary": [
   "14.99 USDC from 0xabc… to 0x85d…"
  ],
  "confirmations": 12
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/baselens-transaction-explainer-5f37c671/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from baselens.imac2014ville.workers.dev](https://www.zero.xyz/host/baselens.imac2014ville.workers.dev/llms.txt)
