# skills.onesource.io Blockchain Transaction Lookup

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

Retrieves full details for a specific blockchain transaction by its hash, including receipt, status, gas usage, and block info.

## Facts

- Endpoint: GET https://skills.onesource.io/api/chain/tx/0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060
- Price: $0.008000/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-7a610cd4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k0l1eSN-wIRTjLsRKfbcE

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

Example prompt: Can you look up the Ethereum transaction 0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060 and tell me if it succeeded, how much gas was used, and what block it was included in?

## When to prefer this

Use this endpoint when you need to look up a specific transaction by hash on Ethereum mainnet or compatible chains (Base, Avalanche, Sepolia, MegaETH). Prefer this over block explorers when you need machine-readable receipt data including status, gas, logs, and block context in a single API call. Ideal for verifying payment finality, auditing on-chain events, or enriching transaction records in automated workflows.

## Known failure modes

- Invalid or malformed transaction hash (not matching 0x + 64 hex chars) returns validation error
- Transaction hash not found on the specified network returns empty or 404 response
- Unsupported network value outside the allowed enum returns error
- Network mismatch — querying a hash that exists on a different chain than specified
- Rate limiting or payment failure (x402) if USDC payment not properly handled

## How this service works

Retrieves details for a specific blockchain transaction by hash.

## Output

Returns a transaction receipt object including to/from addresses, transaction status (success/fail), gas used, block hash, block number, logs, logs bloom, contract address if created, and transaction type — all for the specified network.

## Example request

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

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": "string",
   "pattern": "^0x[a-fA-F0-9]{64}$"
  },
  "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": [
    "receipt",
    "transaction"
   ],
   "properties": {
    "receipt": {
     "type": "object",
     "required": [
      "to",
      "from",
      "logs",
      "type",
      "status",
      "gasUsed",
      "blockHash",
      "logsBloom",
      "blockNumber",
      "contractAddress",
      "transactionHash",
      "transactionIndex",
      "cumulativeGasUsed",
      "effectiveGasPrice"
     ],
     "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"
      }
     }
    },
    "transaction": {
     "type": "object",
     "required": [
      "r",
      "s",
      "v",
      "to",
      "gas",
      "from",
      "hash",
      "type",
      "input",
      "nonce",
      "value",
      "gasPrice",
      "blockHash",
      "blockNumber",
      "transactionIndex"
     ],
     "properties": {
      "r": {
       "type": "string"
      },
      "s": {
       "type": "string"
      },
      "v": {
       "type": "string"
      },
      "to": {
       "type": "string"
      },
      "gas": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "hash": {
       "type": "string"
      },
      "type": {
       "type": "string"
      },
      "input": {
       "type": "string"
      },
      "nonce": {
       "type": "string"
      },
      "value": {
       "type": "string"
      },
      "gasPrice": {
       "type": "string"
      },
      "blockHash": {
       "type": "string"
      },
      "blockNumber": {
       "type": "string"
      },
      "transactionIndex": {
       "type": "string"
      }
     }
    }
   }
  },
  "meta": {
   "type": "obj
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/skills-onesource-io-7a610cd4/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)
