Swap asset path[0] for asset path[1] to get exactly amountOut.
path[0]
path[1]
amountOut
If an amountInMax is specified, it will return an error if acquiring amountOut would be too costly.
amountInMax
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 asset
path[0]for assetpath[1]to get exactlyamountOut.If an
amountInMaxis specified, it will return an error if acquiringamountOutwould be too costly.Withdraws the
path[0]asset fromsender, deposits thepath[1]asset tosendTo, respectingkeepAlive.