DrySwapRoute
DrySwapRoute simulates a swap route without executing it.
Parameters:
- inputToken: path of input token
- outputToken: path of output token
- specifiedAmount: specified amount for the swap
- swapTypeStr: swap type string ("ExactIn" or "ExactOut")
- strRouteArr: encoded route array
- quoteArr: encoded quote array
- tokenAmountLimit: token amount limit
Returns:
- string: estimated input amount
- string: estimated output amount
- bool: success status
Command
gnokey query vm/qeval -remote "https://rpc.test13.testnets.gno.land" -data "gno.land/r/gnoswap/router.DrySwapRoute(,,,,,,)"
Result