SwapInstructions: { instructions: IInstruction[]; quote: SwapQuote<T> }

Instructions and quote for executing a swap.

Type Parameters

  • T extends SwapParams

    The type of swap (input or output).

Type declaration

  • 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.