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.
When to use: Right before a trade, to see if the size is sane for the pool and what's being said about the token. Use instead: token_check when you aren't trading yet. Parameters: token is required. chain: base (default), ethereum or solana. amount_usd: your planned size, for price impact against pool depth. wallet: your address, to show what you already hold. Returns: price, liquidity, chain warnings, rough price impact for amount_usd, your current holding, and recent web results. Facts, not advice.
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. |