Comfy swap quote
comfy_swap_quoteFetches a read-only exact-input swap quote on 0G mainnet, returning expected and minimum output and readable pool fee rates for previewing a buy or sell before signing.
Instructions
Read-only exact-input CLQuoter eth_call on 0G mainnet. Returns expected and minimum output in human units and raw integers, quote block, and live per-pool fee rates where readable. Unknown impact or fees stay null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| token | Yes | ||
| amount | Yes | Exact decimal human units: native 0G for buys, tokens for sells. No exponents. | |
| slippage_bps | No |