# Base Transaction Lookup

> Base Transaction Lookup is a paid API for AI agents from lin-desk-x402.lindesk.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Look up the status and details of a transaction on Base mainnet by its transaction hash

## Facts

- Endpoint: GET https://lin-desk-x402.lindesk.workers.dev/v1/base/tx?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-transaction-lookup-7c86652c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z6INJf7CphGsjCCA4ROZ8

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-7c86652c
```

Example prompt: Can you check the status and confirmation count for Base mainnet transaction 0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef?

## When to prefer this

Use this endpoint when you need to verify or inspect a specific transaction on Base mainnet by its hash — particularly for confirming payment settlements, auditing on-chain activity, or debugging failed transfers. It is a read-only, pay-per-call service requiring no API key, making it ideal for agents that need occasional transaction lookups without managing credentials. Prefer this over a general Ethereum explorer API when your target chain is specifically Base mainnet.

## Known failure modes

- Invalid or malformed transaction hash format (must be 0x followed by 64 hex characters) returns a validation error
- Transaction hash not found on Base mainnet returns not-found or null fields
- Network or RPC timeout may cause delayed or error response
- Transaction still pending may return null block_number and zero confirmations
- Payment failure via x402 (insufficient USDC balance) blocks the request before execution

## How this service works

Pay-per-call API for AI agents: turn any public web page or PDF into clean, LLM-ready Markdown. $0.002 per call in USDC on Base via x402. No API key, no signup.

## Output

Returns a JSON object with the full transaction receipt: status (success/failed/pending), sender (from), recipient (to), transaction hash, block number, number of confirmations, gas used, effective gas price in wei, value transferred in wei, number of event logs, contract address if it was a contract deployment, a timestamp (as_of), chain identifier, cache status, elapsed milliseconds, and a read-only disclaimer.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "hash"
     ],
     "properties": {
      "hash": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{64}$",
       "description": "Transaction hash on Base mainnet"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "to": {
       "type": [
        "string",
        "null"
       ]
      },
      "from": {
       "type": [
        "string",
        "null"
       ]
      },
      "hash": {
       "type": "string"
      },
      "as_of": {
       "type": "integer"
      },
      "status": {
       "type": "string"
      },
      "gas_used": {
       "type": [
        "integer",
        "null"
       ]
      },
      "value_wei": {
       "type": [
        "string",
        "null"
       ]
      },
      "disclaimer": {
       "type": "string"
      },
      "logs_count": {
       "type": "integer"
      },
      "block_number": {
       "type": [
        "integer",
        "null"
       ]
      },
      "confirmations": {
       "type": "integer"
      },
      "contract_address": {
       "type": [
        "string",
        "null"
       ]
      },
      "effective_gas_price": {
       "type": [
        "string",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
  "from": "0x4200000000000000000000000000000000000006",
  "hash": "0x0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
  "as_of": 1791100000,
  "chain": "base",
  "cached": false,
  "status": "success",
  "chain_id": 8453,
  "gas_used": 65000,
  "value_wei": "0",
  "disclaimer": "Read-only on-chain data; not financial advice.",
  "elapsed_ms": 40,
  "logs_count": 1,
  "block_number": 52120000,
  "confirmations": 12,
  "contract_address": null,
  "effective_gas_price": "1000000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-transaction-lookup-7c86652c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lin-desk-x402.lindesk.workers.dev](https://www.zero.xyz/host/lin-desk-x402.lindesk.workers.dev/llms.txt)
