Swap the exact amount of asset1 into asset2. amount_out_min param allows you to specify the min amount of the asset2 you're happy to receive.
asset1
asset2
amount_out_min
[AssetConversionApi::quote_price_exact_tokens_for_tokens] runtime call can be called for a quote.
AssetConversionApi::quote_price_exact_tokens_for_tokens
Swap the exact amount of
asset1intoasset2.amount_out_minparam allows you to specify the min amount of theasset2you're happy to receive.[
AssetConversionApi::quote_price_exact_tokens_for_tokens] runtime call can be called for a quote.