Pre-trade token check
pretrade_checkBefore trading a token on Base, Ethereum or Solana: its USD price and liquidity, plain warnings read from the chain, how big your planned trade is next to the pool (rough price impact), how much your wallet already holds, and recent web results about the token. Facts, not advice.
$0.01 USDC per call over x402. Failed calls cost nothing. Call without payment to get a quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | "base" (default), "ethereum" or "solana". | |
| token | Yes | Token to check: ERC-20 contract or SPL mint ("SOL" works on Solana). | |
| wallet | No | Your wallet address, to see how much of the token it holds. | |
| payment | No | Base64 x402 payment payload. Omit it to receive a quote; sign that and call again. | |
| amount_usd | No | Planned trade size in USD, to compare with pool depth. |