# OneSource Ethereum Transaction Receipt Lookup

> OneSource Ethereum Transaction Receipt Lookup is a paid API for AI agents from api.onesource.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Fetches the mined transaction receipt for a given Ethereum transaction hash, returning status, gas used, and emitted event logs via eth_getTransactionReceipt

## Facts

- Endpoint: GET https://api.onesource.io/api/chain/receipt/:hash
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onesource-ethereum-transaction-receipt-lookup-fa31dbd7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8cG5xdBMwY4GOm_SD-GU-

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 onesource-ethereum-transaction-receipt-lookup-fa31dbd7
```

Example prompt: Can you pull the transaction receipt for 0x4a7f3b2e1c8d5a9f0e6b3c2d1a8f7e4b9c5d2a1e0f3b6c8d2a4e7f1b3c5d8a9e on Ethereum mainnet — 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 post-execution data about a confirmed Ethereum transaction — specifically its success/failure status, gas consumption, or the event logs it emitted. Prefer this over eth_getTransactionByHash when you need confirmation status or logs rather than the raw transaction parameters. Best for verifying ERC20 transfers, contract deployments, or any on-chain state changes where event logs matter.

## Known failure modes

- Transaction hash not found (not yet mined or invalid hash) — returns null or 404
- Invalid hash format (not 0x-prefixed 64 hex chars) — returns 400 validation error
- Transaction exists on mainnet but queried on sepolia (or vice versa) — returns not found
- Node RPC timeout or unavailability — returns 5xx error
- Pending transaction (not yet mined) — receipt not available yet

## How this service works

Transaction receipt via eth_getTransactionReceipt - status, gas, and event logs for a mined Ethereum transaction

## Output

Returns the full transaction receipt object including: confirmation status (success/reverted), cumulative and actual gas used, the block number and hash it was included in, the transaction index, any contract address created (for deployments), and a full array of decoded or raw event logs emitted during execution.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onesource-ethereum-transaction-receipt-lookup-fa31dbd7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.onesource.io](https://www.zero.xyz/host/api.onesource.io/llms.txt)
