loot_quote
Retrieve an exact buy or sell quote for LOOT tokens, calculating real router fees and caps to confirm the trade executes without reverting.
Instructions
Execution-time quote from the real router via eth_call: exact tick math, fees, and caps for the calling wallet. side buy takes amount_eth, side sell takes amount_tokens. A revert here means the trade would fail and the reason is reported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | ||
| side | Yes | ||
| token | Yes | ||
| amount_eth | No | ||
| amount_tokens | No |