txpreflight__preflight
Base agent toolbox. /preflight simulates a tx (revert reason, gas, EIP-1559 fees in ETH and USD) before you sign. /verify reads a receipt and proves a USDC transfer settled: confirmations, amount, sender, recipient. Price: $0.01 per call in USDC on Base (eip155:8453), paid with x402 in params._meta["x402/payment"]. HTTP: GET https://api.firstmention.uk/s/txpreflight/preflight
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | No | Transaction hash, 0x + 64 hex | |
| asset | No | /verify: ERC-20 to check (default USDC on Base) | |
| pay_to | No | /verify: require this recipient | |
| pay_from | No | /verify: require this sender | |
| amount_usd | No | /verify: minimum USD that must have transferred |