strato.swap.execute
Execute token swaps within existing liquidity pools on the STRATO blockchain by specifying pool address, swap direction, input amount, and minimum acceptable output.
Instructions
Swap within an existing pool.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolAddress | Yes | Pool address | |
| isAToB | Yes | Swap direction (true = token A to B) | |
| amountIn | Yes | Input token amount | |
| minAmountOut | Yes | Minimum acceptable output |