TwoHopSwapV2InstructionData: {
    amount: bigint;
    amountSpecifiedIsInput: boolean;
    aToBOne: boolean;
    aToBTwo: boolean;
    discriminator: ReadonlyUint8Array;
    otherAmountThreshold: bigint;
    remainingAccountsInfo: Option<RemainingAccountsInfo>;
    sqrtPriceLimitOne: bigint;
    sqrtPriceLimitTwo: bigint;
}

Type declaration

  • amount: bigint
  • amountSpecifiedIsInput: boolean
  • aToBOne: boolean
  • aToBTwo: boolean
  • discriminator: ReadonlyUint8Array
  • otherAmountThreshold: bigint
  • remainingAccountsInfo: Option<RemainingAccountsInfo>
  • sqrtPriceLimitOne: bigint
  • sqrtPriceLimitTwo: bigint