Function getCollectRewardInstruction
- getCollectRewardInstruction<
TAccountWhirlpool extends string,
TAccountPositionAuthority extends string,
TAccountPosition extends string,
TAccountPositionTokenAccount extends string,
TAccountRewardOwnerAccount extends string,
TAccountRewardVault extends string,
TAccountTokenProgram extends string,
TProgramAddress extends
Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,
>(
input: CollectRewardInput<
TAccountWhirlpool,
TAccountPositionAuthority,
TAccountPosition,
TAccountPositionTokenAccount,
TAccountRewardOwnerAccount,
TAccountRewardVault,
TAccountTokenProgram,
>,
config?: { programAddress?: TProgramAddress },
): CollectRewardInstruction<
TProgramAddress,
TAccountWhirlpool,
TAccountPositionAuthority,
TAccountPosition,
TAccountPositionTokenAccount,
TAccountRewardOwnerAccount,
TAccountRewardVault,
TAccountTokenProgram,
> Type Parameters
- TAccountWhirlpool extends string
- TAccountPositionAuthority extends string
- TAccountPosition extends string
- TAccountPositionTokenAccount extends string
- TAccountRewardOwnerAccount extends string
- TAccountRewardVault extends string
- TAccountTokenProgram extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">