# OneSource Chain Transaction Receipt Lookup

> OneSource Chain 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-16).

Fetches the on-chain transaction receipt for a given blockchain transaction hash, returning status, gas usage, block details, and sender/receiver addresses.

## Facts

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

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-d661d0b5
```

Example prompt: Can you pull the transaction receipt for 0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b on Ethereum — I want to know if it succeeded, how much gas was used, and which block it landed in?

## When to prefer this

Use this endpoint when you need authoritative on-chain confirmation of a transaction's outcome — status, gas cost, and block placement — on Ethereum, Base, Avalanche, or MegaETH networks. Prefer this over block explorers when you need programmatic, structured JSON output suitable for downstream automation or verification logic.

## Known failure modes

- Invalid or malformed transaction hash (not matching ^0x[a-fA-F0-9]{64}$) returns a 400 or error response
- Transaction hash not found on the specified network returns null or not-found error
- Unsupported network value returns validation error
- Transaction pending and not yet mined returns null receipt
- Network RPC node unavailable causes 500 or timeout
- Payment failure (x402) if USDC balance insufficient

## How this service works

Returns the transaction receipt for a given blockchain transaction hash, including status, gas usage, block details, and sender/receiver addresses.

## Output

Returns a JSON object containing the transaction receipt fields: to/from addresses, transaction status (0x0=fail, 0x1=success), gas used (hex), block hash, block number, logs array, logsBloom, contract address (if contract creation), transaction type, and other EVM receipt fields.

## Example request

```json
{
 "network": "ethereum"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "network": {
   "enum": [
    "ethereum",
    "sepolia",
    "avax",
    "megaeth",
    "megaeth-testnet",
    "base"
   ],
   "type": "string",
   "default": "ethereum"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data",
  "meta"
 ],
 "properties": {
  "data": {
   "type": "object",
   "required": [
    "result"
   ],
   "properties": {
    "result": {
     "type": "object",
     "required": [
      "type",
      "status",
      "cumulativeGasUsed",
      "logs",
      "logsBloom",
      "transactionHash",
      "transactionIndex",
      "blockHash",
      "blockNumber",
      "gasUsed",
      "effectiveGasPrice",
      "from",
      "to",
      "contractAddress"
     ],
     "properties": {
      "to": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "logs": {
       "type": "array",
       "items": {
        "type": "unknown"
       }
      },
      "type": {
       "type": "string"
      },
      "status": {
       "type": "string"
      },
      "gasUsed": {
       "type": "string"
      },
      "blockHash": {
       "type": "string"
      },
      "logsBloom": {
       "type": "string"
      },
      "blockNumber": {
       "type": "string"
      },
      "contractAddress": {
       "type": "null"
      },
      "transactionHash": {
       "type": "string"
      },
      "transactionIndex": {
       "type": "string"
      },
      "cumulativeGasUsed": {
       "type": "string"
      },
      "effectiveGasPrice": {
       "type": "string"
      }
     }
    }
   }
  },
  "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-d661d0b5/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)
