# OneSource Ethereum Transaction Receipt Lookup

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

Fetches the on-chain transaction receipt for a given transaction hash using eth_getTransactionReceipt, returning status, gas used, logs, and block info.

## Facts

- Endpoint: GET https://skills.onesource.io/api/chain/receipt/0xddb304469135cf0efcc65b0be4f26f20b027f218a44101eaf29d2da4b1771093
- Price: $0.005000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/skills-onesource-io-3fc91bb1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z6r6VMqE0YdyrxJA2FYX6

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 skills-onesource-io-3fc91bb1
```

Example prompt: Can you pull the transaction receipt for Ethereum tx hash 0xddb304469135cf0efcc65b0be4f26f20b027f218a44101eaf29d2da4b1771093 on mainnet and tell me if it succeeded, how much gas was used, and any logs it emitted?

## When to prefer this

Use this endpoint when you need the post-execution details of an Ethereum transaction — especially status (success/revert), gas consumption, emitted logs/events, or contract deployment address. Prefer this over a raw transaction lookup (eth_getTransactionByHash) when you need execution results rather than just the transaction parameters. Supports Ethereum mainnet, Sepolia testnet, and Avalanche.

## Known failure modes

- Invalid or malformed transaction hash (not matching ^0x[a-fA-F0-9]{64}$) returns a validation error
- Transaction hash not found on the specified network returns null or empty receipt
- Unsupported network value outside of ethereum/sepolia/avax returns an error
- Transaction is pending and not yet mined, so no receipt exists yet
- Payment of 0.005 USDC not fulfilled results in HTTP 402 payment required

## How this service works

Get a transaction receipt via eth_getTransactionReceipt

## Output

Returns the full transaction receipt object including transaction status (success/failure), gas used, block number and hash, contract address (if a deployment), event logs with topics and data, cumulative gas used, and metadata about the network and endpoint cost in USDC.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "GET"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data",
  "meta"
 ],
 "properties": {
  "data": {
   "type": "object",
   "required": [
    "result"
   ],
   "properties": {
    "result": {
     "type": "null"
    }
   }
  },
  "meta": {
   "type": "object",
   "required": [
    "endpoint",
    "request_id"
   ],
   "properties": {
    "endpoint": {
     "type": "string"
    },
    "request_id": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/skills-onesource-io-3fc91bb1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from skills.onesource.io](https://www.zero.xyz/host/skills.onesource.io/llms.txt)
