Function getCollectRewardV2Instruction
- getCollectRewardV2Instruction<
TAccountWhirlpool extends string,
TAccountPositionAuthority extends string,
TAccountPosition extends string,
TAccountPositionTokenAccount extends string,
TAccountRewardOwnerAccount extends string,
TAccountRewardMint extends string,
TAccountRewardVault extends string,
TAccountRewardTokenProgram extends string,
TAccountMemoProgram extends string,
TProgramAddress extends
Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,
>(
input: CollectRewardV2Input<
TAccountWhirlpool,
TAccountPositionAuthority,
TAccountPosition,
TAccountPositionTokenAccount,
TAccountRewardOwnerAccount,
TAccountRewardMint,
TAccountRewardVault,
TAccountRewardTokenProgram,
TAccountMemoProgram,
>,
config?: { programAddress?: TProgramAddress },
): CollectRewardV2Instruction<
TProgramAddress,
TAccountWhirlpool,
TAccountPositionAuthority,
TAccountPosition,
TAccountPositionTokenAccount,
TAccountRewardOwnerAccount,
TAccountRewardMint,
TAccountRewardVault,
TAccountRewardTokenProgram,
TAccountMemoProgram,
> Type Parameters
- TAccountWhirlpool extends string
- TAccountPositionAuthority extends string
- TAccountPosition extends string
- TAccountPositionTokenAccount extends string
- TAccountRewardOwnerAccount extends string
- TAccountRewardMint extends string
- TAccountRewardVault extends string
- TAccountRewardTokenProgram extends string
- TAccountMemoProgram extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">