Swap exactly amountIn of asset path[0] for asset path[1].
amountIn
path[0]
path[1]
If an amountOutMin is specified, it will return an error if it is unable to acquire the amount desired.
amountOutMin
Withdraws the path[0] asset from sender, deposits the path[1] asset to sendTo, respecting keepAlive.
sender
sendTo
keepAlive
Arguments specific to this method.
Information required to construct the transaction.
Registry and metadata used for constructing the method.
Swap exactly
amountIn
of assetpath[0]
for assetpath[1]
.If an
amountOutMin
is specified, it will return an error if it is unable to acquire the amount desired.Withdraws the
path[0]
asset fromsender
, deposits thepath[1]
asset tosendTo
, respectingkeepAlive
.