# Blockchain Transaction Receipt Lookup

> Blockchain Transaction Receipt Lookup is a paid API for AI agents from x402-safe-upgrade-api.onrender.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-13).

Looks up the on-chain transaction receipt for a given transaction hash on Base or Base Sepolia, returning status, fee, confirmation, and explorer URL.

## Facts

- Endpoint: POST https://x402-safe-upgrade-api.onrender.com/v1/transaction-receipt?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockchain-transaction-receipt-lookup-e1d3b198
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yBSPbSoodrQHg-753dlK6

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 blockchain-transaction-receipt-lookup-e1d3b198 -d '<json body>'
```

Example prompt: Can you check whether transaction 0x3a7f...b2c1 went through on the Base mainnet — I need to know the status, confirmation, and how much the fee was in wei.

## When to prefer this

Use this endpoint when you need to programmatically verify whether a specific Base or Base Sepolia transaction has been confirmed, retrieve its fee cost in wei, or get a direct block explorer link — especially useful in automated payment pipelines or agent workflows that need to confirm an x402 payment went through before proceeding.

## Known failure modes

- Invalid or malformed transaction hash returns an error response
- Transaction hash not found on the specified chain returns a not-found error
- Specifying an unsupported chain value returns a validation error
- Network connectivity issues with the Base RPC may cause timeouts
- Pending transactions may return unconfirmed status rather than success

## How this service works

Evidence-backed npm package upgrade decisions for coding agents.

## Output

Returns a JSON object with the transaction status (e.g. 'success' or 'failed'), the fee paid in wei as a string, a Basescan/explorer URL for the transaction, and a confirmation field indicating whether the transaction is confirmed on-chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "base-sepolia"
   ],
   "type": "string"
  },
  "transactionHash": {
   "type": "string",
   "description": "0x-prefixed 32-byte public transaction hash."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "feeWei": "21000000000000",
  "status": "success",
  "explorerUrl": "https://basescan.org/tx/0x...",
  "confirmation": "confirmed"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockchain-transaction-receipt-lookup-e1d3b198/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-safe-upgrade-api.onrender.com](https://www.zero.xyz/host/x402-safe-upgrade-api.onrender.com/llms.txt)
