swap_quote
Simulate a token swap to estimate the output amount and gas cost before executing on Sui.
Instructions
Get a swap quote by simulating a Move call. Returns estimated output amount and gas cost without executing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fromCoin | Yes | Source coin type or shorthand (SUI, USDC, etc.) | |
| toCoin | Yes | Destination coin type or shorthand | |
| amount | Yes | Amount to swap (in token units, not MIST) | |
| poolId | Yes | Pool object ID to use for the swap |