SwapV2Params: SwapInput & { oracle: PublicKey; tokenAuthority: PublicKey; tokenMintA: PublicKey; tokenMintB: PublicKey; tokenOwnerAccountA: PublicKey; tokenOwnerAccountB: PublicKey; tokenProgramA: PublicKey; tokenProgramB: PublicKey; tokenTransferHookAccountsA?: AccountMeta[]; tokenTransferHookAccountsB?: AccountMeta[]; tokenVaultA: PublicKey; tokenVaultB: PublicKey; whirlpool: PublicKey; }
Raw parameters and accounts to swap on a Whirlpool