Function getCollectFeesInstruction
- getCollectFeesInstruction<
TAccountWhirlpool extends string,
TAccountPositionAuthority extends string,
TAccountPosition extends string,
TAccountPositionTokenAccount extends string,
TAccountTokenOwnerAccountA extends string,
TAccountTokenVaultA extends string,
TAccountTokenOwnerAccountB extends string,
TAccountTokenVaultB extends string,
TAccountTokenProgram extends string,
TProgramAddress extends
Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,
>(
input: CollectFeesInput<
TAccountWhirlpool,
TAccountPositionAuthority,
TAccountPosition,
TAccountPositionTokenAccount,
TAccountTokenOwnerAccountA,
TAccountTokenVaultA,
TAccountTokenOwnerAccountB,
TAccountTokenVaultB,
TAccountTokenProgram,
>,
config?: { programAddress?: TProgramAddress },
): CollectFeesInstruction<
TProgramAddress,
TAccountWhirlpool,
TAccountPositionAuthority,
TAccountPosition,
TAccountPositionTokenAccount,
TAccountTokenOwnerAccountA,
TAccountTokenVaultA,
TAccountTokenOwnerAccountB,
TAccountTokenVaultB,
TAccountTokenProgram,
> Type Parameters
- TAccountWhirlpool extends string
- TAccountPositionAuthority extends string
- TAccountPosition extends string
- TAccountPositionTokenAccount extends string
- TAccountTokenOwnerAccountA extends string
- TAccountTokenVaultA extends string
- TAccountTokenOwnerAccountB extends string
- TAccountTokenVaultB extends string
- TAccountTokenProgram extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">