# Blockchain Transaction Receipt Lookup

> Blockchain 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-15).

Retrieves the full receipt for a blockchain transaction by hash, including status, gas usage, block info, and execution metadata across multiple networks.

## Facts

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

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-593b3274
```

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

## When to prefer this

Use this endpoint when you need to confirm transaction execution status, verify gas consumption, find the block a transaction landed in, or retrieve event logs emitted by a smart contract call — specifically when you have a transaction hash and need the canonical on-chain receipt. Supports Ethereum mainnet, Sepolia, Avalanche, MegaETH, MegaETH testnet, and Base.

## Known failure modes

- Invalid transaction hash format (must be 0x-prefixed 64-character hex) returns validation error
- Transaction hash not found on the specified network returns null or 404
- Unsupported network value returns enum validation error
- Transaction is still pending (not yet mined) may return null receipt
- Network congestion or RPC timeout may cause slow or failed responses

## How this service works

Retrieves the receipt for a blockchain transaction hash, including status, gas usage, block information, and execution metadata.

## Output

Returns a transaction receipt object including: to/from addresses, transaction status (0x1 = success, 0x0 = failure), gas used (hex), block hash, block number, contract address (if deployment), logs array, logs bloom filter, and transaction type. All numeric values are hex-encoded.

## Example request

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

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [],
 "properties": {
  "network": {
   "enum": [
    "ethereum",
    "sepolia",
    "avax",
    "megaeth",
    "megaeth-testnet",
    "base"
   ],
   "type": "string",
   "default": "ethereum",
   "description": "The blockchain network to query. The transaction hash is passed in the URL path, not the body."
  }
 }
}
```

## 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-593b3274/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)
