t2000_swap
Swap tokens on Sui via Cetus Aggregator. Supports any token pair using user-friendly names or full coin types. Wallet must hold SUI for gas.
Instructions
Swap tokens on Sui via Cetus Aggregator (20+ DEXs). Supports any token pair with liquidity. Use user-friendly names (SUI, USDC, USDsui, CETUS, DEEP, etc.) or full coin types. NOTE: Swap is NOT gasless — the wallet must hold some SUI for gas (typically < $0.01 per swap). Mirrors t2 swap <amount> <FROM> <TO>.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Source token (e.g. "SUI", "USDC", or full coin type) | |
| to | Yes | Target token (e.g. "USDC", "CETUS", or full coin type) | |
| amount | Yes | Amount of the source token to swap | |
| slippage | No | Max slippage (default 0.01 = 1%, max 5%) |