# Transaction Lookup & Decode

> Transaction Lookup & Decode is a paid API for AI agents from x402-seller-pmlm.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-12).

Looks up and decodes on-chain transaction details (status, transfers, fees, method) for any EVM or Solana tx hash, across Ethereum, Base, Arbitrum, Polygon, and Solana.

## Facts

- Endpoint: GET https://x402-seller-pmlm.onrender.com/tx?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/transaction-lookup-decode-db2da3cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z_FBxfw7rKhDYKajODf2P

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 transaction-lookup-decode-db2da3cd
```

Example prompt: Can you look up this Ethereum transaction for me — 0x4a7d3f8e2c1b9a0e5f6d7c8b9a0e1f2d3c4b5a6e7f8d9c0b1a2e3f4d5c6b7a8e — and tell me whether it succeeded, what method was called, and how much it cost in USD?

## When to prefer this

Choose this endpoint when you need to verify, decode, or audit a specific on-chain transaction by hash or Solana signature, especially when you need human-readable decoded output (method name, token amounts, USD fees) rather than raw RPC data. It auto-detects EVM chains so you don't need to specify one, and it specifically decodes x402/EIP-3009 USDC payment patterns — making it ideal for payment verification in agentic workflows. Cost is $0.003 USDC per successful call.

## Known failure modes

- 400 Bad Request: malformed or invalid tx hash/signature format (not charged)
- 422 Unprocessable Entity: transaction not found on any searched chain, or node unreachable (not charged)
- 503 Service Unavailable: backend too busy to process request (not charged)
- Ambiguous chain if EVM hash exists on multiple networks — specify chain param to disambiguate

## How this service works

Decode transaction: status, receipt and decoded token transfers for any tx hash or Solana signature, read onchain. EVM (auto-detects Ethereum, Base, Arbitrum, Polygon): success/reverted, block time, confirmations, from/to, method, fee in USD, every ERC-20/NFT transfer; flags x402 USDC payments. Solana: status, fee, SOL + token balance changes. Use to verify a payment landed. 0.003 USDC/call; failed calls are free.

## Output

Returns a JSON object with the chain name, transaction status (success/reverted/failed/pending), block timestamp, from and to addresses, decoded method name, fee in USD, an array of decoded token transfers (for EVM), token balance changes (for Solana), and a link to the block explorer. Flags x402/EIP-3009 USDC payment patterns when detected.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "hash"
     ],
     "properties": {
      "hash": {
       "type": "string",
       "maxLength": 90,
       "minLength": 64,
       "description": "0x tx hash (EVM) or base58 transaction signature (Solana)"
      },
      "chain": {
       "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "polygon",
        "solana"
       ],
       "type": "string",
       "description": "Optional; EVM hashes are searched on all four chains when omitted"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "status",
      "explorer"
     ],
     "properties": {
      "to": {
       "type": [
        "string",
        "null"
       ]
      },
      "fee": {
       "type": "object"
      },
      "from": {
       "type": "string"
      },
      "chain": {
       "type": "string"
      },
      "method": {
       "type": "object"
      },
      "status": {
       "enum": [
        "success",
        "reverted",
        "failed",
        "pending"
       ],
       "type": "string"
      },
      "explorer": {
       "type": "string"
      },
      "timestamp": {
       "type": [
        "string",
        "null"
       ]
      },
      "tokenChanges": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "tokenTransfers": {
       "type": "array",
       "items": {
        "type": "object"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/transaction-lookup-decode-db2da3cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-seller-pmlm.onrender.com](https://www.zero.xyz/host/x402-seller-pmlm.onrender.com/llms.txt)
