# Commerce Transaction Outcome Lookup

> Commerce Transaction Outcome Lookup is a paid API for AI agents from x402-gateway-production-1f21.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-18).

Looks up the outcome/status of a blockchain transaction by hash on Base or Ethereum networks

## Facts

- Endpoint: POST https://x402-gateway-production-1f21.up.railway.app/commerce/tx-outcome?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/commerce-transaction-outcome-lookup-4969807b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bfveXe-OtUPrFRyeBjllN

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 commerce-transaction-outcome-lookup-4969807b -d '<json body>'
```

Example prompt: Can you check whether this Base transaction went through — the tx hash is 0x3a1b2c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b?

## When to prefer this

Use this endpoint when you need a lightweight, machine-payable ($0.001 USDC) way to verify blockchain transaction outcomes on Base or Ethereum. Prefer this over building your own RPC calls when operating within an x402 micropayment context or when you need a simple status check without running a full blockchain node.

## Known failure modes

- Invalid tx_hash format (must match ^0x[a-fA-F0-9]{64}$) returns validation error
- Unknown or pending transaction returns non-ready status
- Unsupported network (only 'base' and 'ethereum' are valid) returns error
- Payment failure via x402 protocol prevents access to the endpoint
- Network RPC timeout or blockchain node unavailability causes lookup failure

## How this service works

Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.

## Output

Returns a JSON object with a status field (e.g. 'ready') indicating the outcome of the specified blockchain transaction.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "tx_hash"
     ],
     "properties": {
      "network": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string"
      },
      "tx_hash": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{64}$"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ready"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/commerce-transaction-outcome-lookup-4969807b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production-1f21.up.railway.app](https://www.zero.xyz/host/x402-gateway-production-1f21.up.railway.app/llms.txt)
