# Base Transaction Status Lookup

> Base Transaction Status Lookup is a paid API for AI agents from x402-data-api.bodhinindustries.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Looks up the on-chain status, gas usage, and confirmation details for a Base network transaction by hash, computed live from raw chain data.

## Facts

- Endpoint: GET https://x402-data-api.bodhinindustries.workers.dev/txstatus
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-transaction-status-lookup-d1c95d67
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yVup0zUGS1bczIVGhNYPl

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-status-lookup-d1c95d67
```

Example prompt: Can you check if my Base transaction 0x3a7f...c2d1 went through — did it succeed or revert, how many confirmations does it have, and what was the gas cost?

## When to prefer this

Use this endpoint when you need authoritative, no-third-party transaction status for a Base L2 transaction hash — particularly when you need to confirm finality, debug a revert, audit gas costs, or verify ETH value transfer. Prefer over block explorers or third-party APIs when trustless, self-computed data is required.

## Known failure modes

- Transaction hash not found on Base: found=false, status='not_found'
- Transaction is still in the mempool: status='pending', confirmations=0
- Malformed hash (not 0x + 64 hex): likely 400/validation error
- Network or RPC node unavailability causing timeout or 5xx
- Transaction exists on a different chain (e.g. Ethereum mainnet) but not Base: not_found

## How this service works

Self-computed Base onchain toolkit for AI agents: ERC-20 safety scan, manipulation-resistant TWAP price oracle, gas/fee oracle, calldata decoder, token/address/contract intel, wallet approval-risk audit, and batch token triage — all computed live from raw Base chain, no third-party data.

## Output

Returns an object with the transaction's status (success, reverted, pending, or not_found), sender, recipient, ETH value transferred, gas units used, total gas cost in ETH, effective gas price in Gwei, block number, confirmation count, number of logs emitted, and an ISO-8601 timestamp of when it was computed — all sourced directly from the Base chain with no third-party data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "hash"
 ],
 "properties": {
  "hash": {
   "type": "string",
   "description": "Base transaction hash (0x + 64 hex)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "description": "recipient (or null)"
  },
  "from": {
   "type": "string",
   "description": "sender"
  },
  "hash": {
   "type": "string",
   "description": "tx hash"
  },
  "found": {
   "type": "boolean",
   "description": "visible to the node"
  },
  "status": {
   "type": "string",
   "description": "success | reverted | pending | not_found"
  },
  "gasUsed": {
   "type": "string",
   "description": "gas units used"
  },
  "reverted": {
   "type": "boolean",
   "description": "execution reverted"
  },
  "valueEth": {
   "type": "string",
   "description": "ETH value transferred"
  },
  "logsCount": {
   "type": "integer",
   "description": "number of logs emitted"
  },
  "computedAt": {
   "type": "string",
   "description": "ISO-8601 timestamp"
  },
  "gasCostEth": {
   "type": "string",
   "description": "total gas cost in ETH"
  },
  "blockNumber": {
   "type": "integer",
   "description": "inclusion block"
  },
  "confirmations": {
   "type": "integer",
   "description": "blocks since inclusion"
  },
  "thirdPartyDataUsed": {
   "type": "boolean",
   "description": "always false"
  },
  "effectiveGasPriceGwei": {
   "type": "number",
   "description": "effective gas price (gwei)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-transaction-status-lookup-d1c95d67/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api.bodhinindustries.workers.dev](https://www.zero.xyz/host/x402-data-api.bodhinindustries.workers.dev/llms.txt)
