Get HoodGrow trade price-impact estimate
get_slippageCalculate USD-size trade slippage on Uniswap V3 pools, selecting the best pool and effective price. Flags likely tick crossings to warn if slippage may be understated, with a suggestion to split orders.
Instructions
How much a USD-sized trade would move the price, per Uniswap V3 pool this token trades on — plus bestPoolAddress/bestEffectivePrice picking the best of them for you. Per-pool estimate, not an optimal multi-pool route/split. Exact within each pool's currently active tick range; a likelyCrossesTick flag on a result means the trade is probably large enough that this may understate real slippage — consider splitting into smaller tranches (TWAP) instead. $0.05 via x402, or 1 daily unit with a free API key. Fails for an unknown symbol. Computed per pool from the most recent Uniswap V3 pool snapshot (refreshed every 15 minutes, not read live at request time) — an estimate derived from reserves, not a quoted or executable price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | "buy" spends USDG for the stock token, "sell" spends the stock token for USDG. | |
| symbol | Yes | Ticker symbol, e.g. "NVDA" (case-insensitive). | |
| amountUsd | Yes | Trade size in USD. |