# Base Transaction Lookup

> Base Transaction Lookup is a paid API for AI agents from ca-tax-api-mainnet.lxtap.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-23).

Returns a human-readable summary of a Base blockchain transaction including status, block, time, sender, recipient, ETH value, gas usage, fee, method selector, and decoded ERC-20 transfers.

## Facts

- Endpoint: GET https://ca-tax-api-mainnet.lxtap.workers.dev/base/tx?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-transaction-lookup-2860e1ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rJTiSYihvjyEXM_63thCT

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-transaction-lookup-2860e1ea
```

Example prompt: Can you look up Base transaction 0x4a3b2c1d... and give me a full breakdown — who sent it, who received it, how much ETH moved, what the gas fee was, and whether any ERC-20 tokens were transferred?

## When to prefer this

Use this endpoint when you need a complete, human-readable breakdown of a single Base transaction by hash, especially when you need decoded ERC-20 transfer data alongside gas and sender/recipient details. Prefer this over raw RPC calls when you want pre-parsed, structured output without handling ABI decoding yourself. Best for accounting, audit, and verification workflows on the Base L2 network specifically.

## Known failure modes

- Invalid transaction hash format (must be 0x followed by 64 hex characters) — returns validation error
- Transaction hash not found on Base — returns not found error
- Transaction still pending (not yet mined) — may return incomplete data or error
- Network or RPC timeout — returns service error
- Payment failure (insufficient USDC balance for x402 micropayment) — returns 402 Payment Required

## How this service works

Pay-per-call data for AI agents, paid in USDC on Base with x402: token risk checks (rug check) on Base, Ethereum, Arbitrum, Optimism, Polygon and Solana, onchain reads (balances, transactions, gas, contracts, NFTs, whale trades, new pools, ENS and Basenames), ECB exchange rates, and Canadian sales tax and business days.

## Output

Returns a structured, human-readable summary of the specified Base transaction including: success/failure status, block number, timestamp, from and to addresses, ETH value transferred, gas used and total fee paid, the method selector called, and a decoded list of ERC-20 transfers with token symbols and amounts.

## 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",
       "pattern": "^0x[0-9a-fA-F]{64}$",
       "description": "Transaction hash on Base"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "0xd6145b2D3F379919E8CdEda7B97e37c4b2Ca9c40",
  "fee": "0.000001440003084728",
  "from": "0xf87F67497C535f856670518a3577b2bfC1bEE976",
  "hash": "0xff80142e4591e95e4088a7f37838e359843151633209f62a3b39f85402cc7d06",
  "chain": "base",
  "value": "0.0005",
  "status": "success",
  "gasUsed": 130678,
  "timestamp": "2026-10-22T15:30:13.000Z",
  "blockNumber": 52946833,
  "nativeSymbol": "ETH",
  "methodSelector": "0x3593564c",
  "tokenTransfers": [
   {
    "to": "0xf87F67497C535f856670518a3577b2bfC1bEE976",
    "raw": "1198173",
    "from": "0x1C450D7d1FD98A0b04E30deCFc83497b33A4F608",
    "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1.198173",
    "symbol": "USDC"
   },
   {
    "to": "0x1C450D7d1FD98A0b04E30deCFc83497b33A4F608",
    "raw": "500000000000000",
    "from": "0xd6145b2D3F379919E8CdEda7B97e37c4b2Ca9c40",
    "token": "0x4200000000000000000000000000000000000006",
    "amount": "0.0005",
    "symbol": "WETH"
   }
  ],
  "contractCreated": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-transaction-lookup-2860e1ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ca-tax-api-mainnet.lxtap.workers.dev](https://www.zero.xyz/host/ca-tax-api-mainnet.lxtap.workers.dev/llms.txt)
