Documentation
    Preparing search index...

    Type Alias SwapInstructions<T>

    Instructions and quote for executing a swap.

    type SwapInstructions<T extends SwapParams> = {
        instructions: IInstruction[];
        quote: SwapQuote<T>;
        tradeEnableTimestamp: bigint;
    }

    Type Parameters

    • T extends SwapParams

      The type of swap (input or output).

    Index

    Properties

    instructions: IInstruction[]

    The list of instructions needed to perform the swap.

    quote: SwapQuote<T>

    The swap quote, which includes information about the amounts involved in the swap.

    tradeEnableTimestamp: bigint

    The timestamp when the trade was enabled.