# Mach Gallery Base Transaction Receipt Lookup

> Mach Gallery Base Transaction Receipt Lookup is a paid API for AI agents from api.mach.gallery, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Fetches the receipt and confirmation status of a Base (EVM) transaction by its hash, returning success status, block number, and confirmation count.

## Facts

- Endpoint: POST https://api.mach.gallery/api/base/receipt?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mach-gallery-base-transaction-receipt-lookup-061c6963
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kcsnT-AjXipQmeV2R6o2z

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 mach-gallery-base-transaction-receipt-lookup-061c6963 -d '<json body>'
```

Example prompt: Can you check whether the Base transaction 0x3a1b2c... went through — did it succeed, how many confirmations does it have, and what block was it mined in?

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call lookup of a Base transaction receipt without API key setup — especially useful for autonomous agents that need to verify on-chain payment success or confirm contract execution on the Base L2 network. Prefer over direct RPC calls when you want a managed, low-latency abstraction billed per use in USDC.

## Known failure modes

- Transaction hash not found (found: false) if the hash is invalid or not yet indexed
- Invalid hash format (not matching ^0x[0-9a-fA-F]{64}$) causes a validation error
- Payment failure via x402 if insufficient USDC balance
- Network or RPC timeout if Base node is congested
- Very recent transactions may show 0 or low confirmations

## How this service works

Fast, low-cost Base data for autonomous agents. No API keys, no subscriptions; pay per call with USDC over x402.

## Output

Returns a JSON object indicating whether the transaction was found, the EVM network ID (eip155:8453 for Base), whether the transaction succeeded, the block number it was included in, and the number of confirmations accumulated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tx_hash": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{64}$",
   "description": "32-byte Base transaction hash."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "found": true,
  "network": "eip155:8453",
  "success": true,
  "block_number": 36000000,
  "confirmations": 12
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mach-gallery-base-transaction-receipt-lookup-061c6963/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.mach.gallery](https://www.zero.xyz/host/api.mach.gallery/llms.txt)
