# x402node Base Transaction Verifier

> x402node Base Transaction Verifier is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Verifies a Base L2 transaction by hash, returning confirmation status, ERC20 token transfers, ETH value moved, gas used, and gas cost as a machine-readable execution receipt.

## Facts

- Endpoint: GET https://api.x402node.dev/wallet/tx-verify
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-36d38548
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CIyXCz_PknVaRXDva9BJe

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 api-x402node-dev-36d38548
```

Example prompt: Can you verify whether Base transaction 0x4a3b...c9f2 actually confirmed on-chain — I need to know if the payment landed, what ERC20 tokens moved, and how much gas it cost before I release the goods.

## When to prefer this

Use this endpoint when you need to verify a Base L2 transaction executed correctly before proceeding with downstream logic — especially for payment confirmation, DeFi swap verification, or any agentic workflow that must not proceed on a failed or reverted transaction. Prefer over Ethereum mainnet tx endpoints when the transaction is on Base L2.

## Known failure modes

- Invalid or malformed transaction hash returns error
- Transaction not yet mined returns pending status or error
- Hash from wrong network (Ethereum mainnet vs Base) may return not found
- RPC node unavailability causes timeout
- Payment of $0.05 USDC required per call — insufficient payment returns 402

## How this service works

Onchain transaction verification: POST a Base tx hash, returns whether it confirmed or reverted, confirmation count, the actual ERC20 token transfers that occurred (with token labels), ETH value moved, gas used and gas cost. For AI agents to verify an action truly executed before proceeding (did the payment land, did the swap go through, did it revert). Machine-readable execution receipt from onchain truth.

## Output

Returns a structured execution receipt including: whether the transaction confirmed or reverted, current confirmation count, list of ERC20 token transfers with token labels and amounts, ETH value transferred, gas units used, and total gas cost in ETH/USD.

## 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",
     "properties": {
      "hash": {
       "type": "string",
       "description": "Transaction hash (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-36d38548/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
