Swap any amount of asset1 to get the exact amount of asset2.
amount_in_max param allows to specify the max amount of the asset1
you're happy to provide.
[AssetConversionApi::quote_price_tokens_for_exact_tokens] runtime call can be called
for a quote.
Swap any amount of
asset1to get the exact amount ofasset2.amount_in_maxparam allows to specify the max amount of theasset1you're happy to provide.[
AssetConversionApi::quote_price_tokens_for_exact_tokens] runtime call can be called for a quote.