TwoHopSwapV2InstructionDataArgs: {
    amount: number | bigint;
    amountSpecifiedIsInput: boolean;
    aToBOne: boolean;
    aToBTwo: boolean;
    otherAmountThreshold: number | bigint;
    remainingAccountsInfo: OptionOrNullable<RemainingAccountsInfoArgs>;
    sqrtPriceLimitOne: number | bigint;
    sqrtPriceLimitTwo: number | bigint;
}

Type declaration

  • amount: number | bigint
  • amountSpecifiedIsInput: boolean
  • aToBOne: boolean
  • aToBTwo: boolean
  • otherAmountThreshold: number | bigint
  • remainingAccountsInfo: OptionOrNullable<RemainingAccountsInfoArgs>
  • sqrtPriceLimitOne: number | bigint
  • sqrtPriceLimitTwo: number | bigint