chainpeek: will this USDC or USDT send go through? pass, warn or fail with a reason per check, read-only
transfer_preflightPreflight a planned USDC or USDT ERC-20 transfer by checking balances, gas, nonce, blacklist, recipient safety, and simulation, then return a pass, warn, or fail verdict before signing.
Instructions
chainpeek: Preflight a USDC or USDT transfer: balance, gas, nonce, blacklist, recipient, simulation. For OFAC screening use check_sanctions; for a wallet's past pulls use check_wallet_drain. Returns a verdict (pass, warn or fail) for one planned ERC-20 transfer, with a row per check in checks (token balance, gas balance, pending nonce, issuer blacklist for sender and recipient, paused, recipient sanity, address-poisoning lookalike, simulated transfer(to, amount) with its revert reason, decimals and raw amount) and the non-passing ones in reasons. Read-only: nothing is signed or sent. A part that cannot be read is not_checked with a reason (verdict warn); a token without the blacklist function is not_available, not a fail. Lookalike check on Ethereum and Base only. Bad input is a 422 (not charged). Typically 1-4 s. Price: USD 0.01. Free: 10 chain reads per IP per UTC day. Docs: https://tanod.dev/learn/gas-price-api.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The recipient (0x + 40 hex). | |
| from | Yes | The sending wallet (0x + 40 hex). | |
| chain | Yes | ethereum, base, polygon, bnb or arbitrum. | |
| token | Yes | USDC, USDT (the chain's native issuer contract) or an ERC-20 contract address. | |
| amount | Yes | Amount in token units as a positive decimal string, e.g. "250.5" (not raw units). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| note | No | ||
| block | No | ||
| chain | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| token | No | ||
| amount | No | ||
| checks | No | ||
| limits | No | ||
| reasons | No | ||
| verdict | No | ||
| budget_s | No | ||
| read_only | No | ||
| amount_raw | No | ||
| elapsed_ms | No |