# txpreflight Transaction Verifier

> txpreflight Transaction Verifier is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Verifies whether an on-chain transaction or token approval on Base has settled, checking asset type, amount, recipient, and confirmation status

## Facts

- Endpoint: GET https://api.firstmention.uk/s/txpreflight/verify?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/txpreflight-transaction-verifier-31119072
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wnb37GgdQGNfur4NSWjwy

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 txpreflight-transaction-verifier-31119072
```

Example prompt: Can you check whether the USDC payment sent from 0xAbc...123 to 0xDef...456 on Base has fully settled — I need to confirm the amount was met and the recipient matches before I release the order?

## When to prefer this

Use this endpoint when you need to programmatically verify that a specific USDC transaction or ERC-20 token approval on the Base network has settled correctly — especially useful for payment-gated workflows, DeFi pre-flight checks, or release-on-payment automations. Prefer this over a general block explorer when you need a structured JSON verdict with explicit amount and recipient validation flags rather than raw chain data.

## Known failure modes

- Transaction not found or not yet mined — may return ok:false with a pending status
- Wrong chain or unsupported asset — check object may show amountMet or recipientMet as false
- Invalid address format — likely returns a 400 or error response
- Insufficient confirmations — verdict may not be 'settled' if block is too recent
- Network congestion or RPC timeout — may return a 5xx error

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

Returns a JSON object with: an ok boolean, the block number of the transaction, the chain name (base), a check object showing asset type (e.g. USDC), whether the amount condition was met (amountMet), and whether the recipient condition was met (recipientMet), plus a human-readable status and verdict (e.g. 'settled') and the number of on-chain confirmations.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "hash": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "feeEth": {
       "type": "string"
      },
      "status": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "feeEth": "0.00002",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/txpreflight-transaction-verifier-31119072/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
