dex_execute_swap
Swap tokens on any VeChain DEX with slippage protection. Specify DEX, input/output tokens, amount, and minimum acceptable output.
Instructions
Execute a token swap on a VeChain DEX
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dexName | Yes | DEX name to use for the swap | |
| toToken | Yes | Output token symbol or address | |
| amountIn | Yes | Amount to swap | |
| fromToken | Yes | Input token symbol or address | |
| amountOutMin | Yes | Minimum acceptable output amount (for slippage protection) | |
| slippageTolerance | No | Slippage tolerance in percent (default 0.5%) |