# Transaction Receipt by Hash

> Transaction Receipt by Hash is a paid API for AI agents from apexfaucet.xyz, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Fetches a detailed EVM transaction receipt given a transaction hash, supporting Ethereum, Base, Arc, and BNB chains.

## Facts

- Endpoint: GET https://apexfaucet.xyz/api/x402/evm-tx?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/transaction-receipt-by-hash-786e558e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LRwtbspccQTOjeQrix_DD

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 transaction-receipt-by-hash-786e558e
```

Example prompt: Can you look up the transaction receipt for 0xca94902d0f31b2d5d56c5d0a4dc818f4b32bf3cf88aa1c33408d62fae630f360 on Base and tell me if it succeeded, who sent it, and what block it landed in?

## When to prefer this

Use this endpoint when you need lightweight, cross-chain EVM transaction receipt lookups across Ethereum, Base, Arc, or BNB without setting up your own RPC node. Especially useful for agents verifying payment finality, auditing transaction senders, or detecting contract deployments. The x402 micropayment model at $0.002 per call suits low-volume or on-demand lookups rather than bulk indexing.

## Known failure modes

- Invalid hash format (must be 0x-prefixed 64 hex chars) returns an error
- Unsupported chain identifier causes rejection
- Transaction not found on specified chain returns ok: false
- Network or RPC outage for the target chain
- Insufficient payment (less than 0.002 USDC) results in 402 response

## How this service works

Free APEX on X1, and free USDC plus APEX on Arc, three times a day. No gas, no sign-up. Plus a swap, a screener, APEX City and token checks.

## Output

Returns a JSON object with ok (boolean), paid (amount in USDC), and a data object containing: transaction hash, from/to addresses, block number, nonce, value, status (success/fail), input 4-byte selector, value symbol, and any contract address created by the transaction.

## 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",
    "queryParams"
   ],
   "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."
      },
      "chain": {
       "enum": [
        "ethereum",
        "base",
        "arc",
        "bnb"
       ],
       "type": "string",
       "description": "Chain to read: ethereum, base, arc or bnb. Default ethereum."
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "properties": {
   "ok": {
    "type": "boolean"
   },
   "data": {
    "type": "object"
   },
   "paid": {
    "type": "number"
   }
  }
 },
 "example": {
  "ok": true,
  "data": {
   "ok": true,
   "to": null,
   "from": "0x024b82335c29fa5606a8ea5c1d24fc9ead50700c",
   "hash": "0xca94902d0f31b2d5d56c5d0a4dc818f4b32bf3cf88aa1c33408d62fae630f360",
   "block": 52555103,
   "chain": "base",
   "nonce": 56,
   "value": "0",
   "status": "success",
   "input4bytes": "0x61014034",
   "valueSymbol": "ETH",
   "contractCreated": "0xb5831b8410db588cbe266336c6e8f5b3e1127503"
  },
  "paid": 0.002
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/transaction-receipt-by-hash-786e558e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apexfaucet.xyz](https://www.zero.xyz/host/apexfaucet.xyz/llms.txt)
