# x402-micro-pay Transaction Status Lookup

> x402-micro-pay Transaction Status Lookup is a paid API for AI agents from x402-micro-pay.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-20).

Looks up the on-chain status of a blockchain transaction by hash on Base or Ethereum, returning confirmation count, block details, gas usage, and success/failure status.

## Facts

- Endpoint: POST https://x402-micro-pay.com/api/skills/tx-status?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-micro-pay-transaction-status-lookup-152e7166
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7mJe1qkVKKTO9ccuCuXdW

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 x402-micro-pay-transaction-status-lookup-152e7166 -d '<json body>'
```

Example prompt: Can you check whether the Base transaction 0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa has confirmed yet, and tell me how many confirmations it has and whether it succeeded?

## When to prefer this

Use this endpoint when an agent needs to verify on-chain transaction outcomes on Base or Ethereum without setting up a full node or managing API keys. It is ideal for post-payment verification, audit trails, or confirmation monitoring in automated workflows. The x402 pay-per-call model ($0.002) makes it cost-effective for occasional lookups without subscription overhead. Prefer this over raw RPC calls when the agent lacks direct blockchain access or when idempotency via request_id is needed.

## Known failure modes

- Transaction hash not found on the specified chain — returns found: false
- Invalid tx_hash format (not 64-char hex) — validation error before payment
- Unconfirmed or pending transaction returns status: pending with low confirmation count
- Node RPC unavailability may delay or fail response
- Wrong chain specified (hash exists on Ethereum but Base was queried) — returns found: false

## How this service works

41 pay-per-call JSON APIs for AI agents. No account or API key: an unpaid POST returns HTTP 402, pay in USDC on Base with x402 v2, retry. Prices from $0.001 per call.

## Output

Returns a JSON object with transaction status (success/failed/pending), block number, block hash, number of confirmations, gas used, effective gas price, sender and recipient addresses, contract address if applicable, data timestamp, confidence score, and links to block explorer sources. Also includes a human-readable summary string and suggested related skills.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum"
   ],
   "type": "string",
   "default": "base"
  },
  "tx_hash": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{64}$",
   "maxLength": 66,
   "minLength": 66,
   "description": "0x-prefixed 32-byte transaction hash"
  },
  "request_id": {
   "type": "string",
   "pattern": "^[A-Za-z0-9._:-]+$",
   "maxLength": 64,
   "minLength": 1,
   "description": "Optional idempotency key. Echoed back; a credit-pack redemption with the same request_id and body is charged once."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "to": "0x2222222222222222222222222222222222222222",
   "from": "0x1111111111111111111111111111111111111111",
   "as_of": "2026-10-26T14:00:00Z",
   "chain": "base",
   "found": true,
   "status": "success",
   "tx_hash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
   "chain_id": 8453,
   "gas_used": 21000,
   "block_hash": "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
   "block_number": 22000000,
   "confirmations": 12,
   "contract_address": null,
   "effective_gas_price": 1000000
  },
  "next": [
   "block_number",
   "gas_price",
   "erc20_meta"
  ],
  "skill": "tx_status",
  "charged": true,
  "service": "tx_status",
  "sources": [
   {
    "url": "https://basescan.org/tx/0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    "name": "base eth_getTransactionReceipt",
    "fetched_at": "2026-10-26T14:00:00Z"
   }
  ],
  "summary": "base tx success block=22000000 conf=12",
  "version": "1.0.0",
  "warnings": [],
  "confidence": 0.95,
  "data_as_of": "2026-10-26T14:00:00Z",
  "generated_at": "2026-10-26T14:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-micro-pay-transaction-status-lookup-152e7166/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-micro-pay.com](https://www.zero.xyz/host/x402-micro-pay.com/llms.txt)
