Full body for router route construction. Either coinInAmount or coinOutAmount must be specified, not both. If coinOutAmount is given, slippage is required.
coinInAmount
coinOutAmount
slippage
The input amount in the input coin's smallest unit. This selects exact-input route construction.
The target output amount in the output coin's smallest unit. This selects exact-output route construction.
The maximum decimal fraction of output or input movement accepted by the exact-output route. 0.01 represents 1%.
0.01
Full body for router route construction. Either
coinInAmountorcoinOutAmountmust be specified, not both. IfcoinOutAmountis given,slippageis required.