# OneSource Ethereum Transaction Lookup by Hash

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

Fetches full Ethereum transaction details (from, to, value, calldata, block) by transaction hash using eth_getTransactionByHash

## Facts

- Endpoint: GET https://api.onesource.io/api/chain/tx/:hash
- Price: $0.008/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-lookup-by-hash-448c869e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8DAhnhRoWvq7MH-ZWEZzs

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-lookup-by-hash-448c869e
```

Example prompt: Can you pull up the full details for Ethereum transaction 0x4e3a8b7c2f1d6e9a0b5c8d3f7e2a1b4c9d6e0f3a8b5c2d7e4f1a6b3c8d5e2f7a — I want to see who sent it, who received it, the ETH value, and what block it landed in.

## When to prefer this

Use this endpoint when you have a specific Ethereum transaction hash and need the complete on-chain transaction details including sender, receiver, value, calldata, and block info. Ideal for verifying completed transactions, inspecting contract calls, or auditing transfers. Prefer this over a general RPC endpoint when you want a simple REST call without raw JSON-RPC boilerplate, and when supporting both mainnet and Sepolia testnet is needed.

## Known failure modes

- Transaction hash not found or not yet indexed — returns null or 404
- Invalid hash format (not 0x-prefixed 64 hex chars) — validation error
- Unsupported network value — defaults to ethereum or returns error
- Node unavailable or rate-limited — 5xx response
- Transaction exists but is still pending — block fields may be null

## How this service works

Full Ethereum transaction details by hash via eth_getTransactionByHash - from, to, value, calldata, block

## Output

Returns the full transaction object including: sender address (from), recipient address (to), ETH value transferred, input calldata, block number, transaction index, gas fields, nonce, and hash — for either Ethereum mainnet or Sepolia testnet.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onesource-ethereum-transaction-lookup-by-hash-448c869e/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)
