All chains
    Preparing search index...

    Type Alias swap_exact_tokens_for_tokens

    swap_exact_tokens_for_tokens: TxDescriptor<
        {
            amount_in: bigint;
            amount_out_min: bigint;
            keep_alive: boolean;
            path: { interior: XcmV5Junctions; parents: number }[];
            send_to: SS58String;
        },
    >

    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.

    [AssetConversionApi::quote_price_exact_tokens_for_tokens] runtime call can be called for a quote.