# Ethereum Transaction Lookup by Hash

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

Retrieves full Ethereum transaction details and receipt by transaction hash, including from/to addresses, value, gas, status, block number, logs count, and contract address if created.

## Facts

- Endpoint: GET https://api.x402node.dev/chain/eth-tx
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-44d49920
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ifbabfi3y4o45dTiGHqPB

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 api-x402node-dev-44d49920
```

Example prompt: Can you pull up the full details for Ethereum transaction 0x4e3a...b7f2 — I need to confirm it went through, see how much ETH was transferred, and check whether it created a contract.

## When to prefer this

Use this endpoint when you need to audit, verify, or inspect a specific Ethereum mainnet transaction by its hash — especially for payment confirmation, contract deployment detection, gas usage analysis, or on-chain activity debugging. Prefer over generic block explorers when you need structured JSON output for programmatic consumption by an AI agent.

## Known failure modes

- Invalid or malformed transaction hash returns an error or empty result
- Transaction hash not found on Ethereum mainnet (e.g. it's on a testnet or wrong chain)
- LlamaRPC upstream unavailability causing timeout or 5xx error
- Missing ?hash= parameter returns a bad request error
- Very recent transactions not yet indexed may return null or pending status

## How this service works

Ethereum transaction details and receipt by hash via LlamaRPC. Returns from, to, value, gas, status, block, logs count, contract address (if created). Use ?hash=0x.... Built for AI agents auditing payments, debugging contract calls, monitoring on-chain activity. Accepts payment on Base or Solana — either network works.

## Output

Returns a JSON object with Ethereum transaction details: from address, to address, ETH value transferred, gas limit and gas used, transaction status (success/fail), block number, number of event logs, and contract address if the transaction deployed a new contract.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "hash": {
       "type": "string",
       "description": "Transaction hash (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-44d49920/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
