quote_safe_swap
Preview a buy (ETH→GBLIN) or sell (GBLIN→ETH) without executing. Get expected output, safe minOut with dynamic slippage buffer, and fee breakdown.
Instructions
Preview a buy (ETH→GBLIN) or sell (GBLIN→ETH) without executing. Returns expected output, safe minOut with dynamic slippage buffer (2.5% normal / 4% during Crash Shield), and fee breakdown. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | Yes | ||
| amount_in | Yes | Positive decimal. ETH for buy, GBLIN for sell. |