x402_preflight
x402 seller preflight: check a paid endpoint BEFORE paying it. Fetches it unpaid, parses the 402 (v2 payment-required header or v1 body) and checks every payment option: scheme, network/testnet, asset is real native USDC on Base, EIP-712 extra.name/version match the token on-chain (prevents invalid_exact_evm_token_name_mismatch), payTo not a burn address (plus contract/tx-count/USDC balance), amount, maxTimeoutSeconds, discovery metadata. Plus seller reputation on-chain: incoming USDC transfers to payTo on Base over the last 3 days (1-7 via ?days=): distinct payers, total USDC, transfers at the advertised price, top-payer share, hours since last payment. Returns verdict ok/caution/fail, issues and the recommended option. Price: $0.005 USDC on Base per call (x402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https URL of the x402-paid endpoint | |
| days | No | on-chain payer history window in days (default 3) | |
| method | No | HTTP method to probe (default GET) |