# base-receipt

> base-receipt is a paid API for AI agents from x402.agentindex.world, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Fetches a transaction receipt for a mined Base mainnet transaction, including status, gas used, and event logs via eth_getTransactionReceipt.

## Facts

- Endpoint: GET https://x402.agentindex.world/base/receipt?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-receipt-99116951
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cXAUf-vYJUj6pc_CXp-pZ

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-receipt-99116951
```

Example prompt: Can you pull up the transaction receipt for Base mainnet tx hash 0xabc123...def — I want to know if it succeeded, how much gas it used, and what events were logged?

## When to prefer this

Use this endpoint when you need the confirmed outcome of a specific Base mainnet transaction — status, gas cost, and emitted events — given a transaction hash. Prefer this over base-block when you need per-transaction detail rather than block-level data, and over base-contract when you want runtime execution results rather than static contract metadata.

## Known failure modes

- Transaction hash not yet mined — receipt returns null if the transaction is still pending
- Invalid or malformed transaction hash — returns error or empty response
- Transaction does not exist on Base mainnet — no receipt found
- Network or RPC timeout — transient failure requiring retry
- Hash from a different network (e.g. Ethereum mainnet) — will return no receipt

## How this service works

Transaction receipt via eth_getTransactionReceipt - status, gas used, and event logs for a mined Base mainnet transaction.

## Output

Returns a transaction receipt object including: success/failure status (1 or 0), total gas used, block number it was mined in, cumulative gas used, contract address (if deployment), and an array of event logs with topics and data emitted by the transaction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": "string",
   "title": "Hash"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-receipt-99116951/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentindex.world](https://www.zero.xyz/host/x402.agentindex.world/llms.txt)
