SwapV2InstructionDataArgs: {
    amount: number | bigint;
    amountSpecifiedIsInput: boolean;
    aToB: boolean;
    otherAmountThreshold: number | bigint;
    remainingAccountsInfo: OptionOrNullable<RemainingAccountsInfoArgs>;
    sqrtPriceLimit: number | bigint;
}

Type declaration

  • amount: number | bigint
  • amountSpecifiedIsInput: boolean
  • aToB: boolean
  • otherAmountThreshold: number | bigint
  • remainingAccountsInfo: OptionOrNullable<RemainingAccountsInfoArgs>
  • sqrtPriceLimit: number | bigint