# Base Transaction Status & ERC-20 Transfer Decoder

> Base Transaction Status & ERC-20 Transfer Decoder is a paid API for AI agents from kr-x402-mvp.kgy5612.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Looks up a Base blockchain transaction by hash and returns full status, gas/fee details, decoded ERC-20 transfers, and x402/USDC payment verification

## Facts

- Endpoint: GET https://kr-x402-mvp.kgy5612.workers.dev/crypto/tx-status?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-transaction-status-erc-20-transfer-decoder-cb3f33fb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j55qtMUvTBY5Nu3lvHsPO

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 base-transaction-status-erc-20-transfer-decoder-cb3f33fb
```

Example prompt: Can you check whether transaction 0x3ea6d07f7e990ba4c2289487cd12ea41b6e13b48518fa38b24de2afd1df1d8ca on Base succeeded, who paid whom, how much USDC was transferred, and whether it qualifies as an x402 settlement?

## When to prefer this

Choose this endpoint when you need to verify the outcome of a specific Base transaction — particularly for USDC/ERC-20 payment confirmation, x402 settlement verification, or decoding which addresses exchanged which token amounts. It is purpose-built for onchain payment receipt verification (with expect_to/expect_usdc parameters) and x402 EIP-3009 detection, making it superior to generic block explorers or RPC calls for agent payment workflows.

## Known failure modes

- Invalid hash format (not 0x + 64 hex chars) returns 400 validation error
- Transaction not found on Base returns 404 or empty result
- Payment verification fails if expect_to address did not receive expect_usdc amount
- Pending transactions return status=pending with 0 confirmations and no decoded transfers
- Node/RPC timeout may return 503 or partial data
- x402 payment of 0.002 USDC required; missing or invalid payment header returns 402

## How this service works

Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.

## Output

Returns a JSON object with: transaction status (success/failed/pending), block number, chain, number of confirmations, ISO timestamp, from/to addresses, ETH value, gas used, fee in ETH, decoded method name (e.g. aggregate3/Multicall3/transfer/approve), is_x402_settlement boolean, payment_verified boolean, a usdc_received map of address→amount, and a transfers array each with token contract address, symbol, from, to, and decimal-adjusted amount.

## 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",
       "pattern": "^0x[0-9a-fA-F]{64}$",
       "examples": [
        "0x3ea6d07f7e990ba4c2289487cd12ea41b6e13b48518fa38b24de2afd1df1d8ca"
       ],
       "description": "Base tx hash"
      },
      "expect_to": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "Optional: payee you expect to receive USDC"
      },
      "expect_usdc": {
       "type": "number",
       "minimum": 0,
       "description": "Optional: minimum USDC amount expected (with expect_to)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "0xca11bde05977b3631167028862be2a173976ca11",
  "from": "0xc6699d2aada6c36dfea5c248dd70f9cb0235cb63",
  "hash": "0x3ea6d07f7e990ba4c2289487cd12ea41b6e13b48518fa38b24de2afd1df1d8ca",
  "block": 53220068,
  "chain": "base",
  "method": "aggregate3 (Multicall3)",
  "status": "success",
  "fee_eth": 6.5e-7,
  "gas_used": 92312,
  "timestamp": "2026-10-28T23:18:03Z",
  "transfers": [
   {
    "to": "0xe4be4d0bd82d8e68203deff81f79ede0529f2617",
    "from": "0xa1d1c0cf717402ff3651aa4873ccf96410b01978",
    "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": 0.002,
    "symbol": "USDC"
   }
  ],
  "value_eth": 0,
  "confirmations": 21764,
  "usdc_received": {
   "0xe4be4d0bd82d8e68203deff81f79ede0529f2617": 0.002
  },
  "payment_verified": true,
  "is_x402_settlement": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-transaction-status-erc-20-transfer-decoder-cb3f33fb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kr-x402-mvp.kgy5612.workers.dev](https://www.zero.xyz/host/kr-x402-mvp.kgy5612.workers.dev/llms.txt)
