Function getClosePositionWithTokenExtensionsInstruction
- getClosePositionWithTokenExtensionsInstruction<
TAccountPositionAuthority extends string,
TAccountReceiver extends string,
TAccountPosition extends string,
TAccountPositionMint extends string,
TAccountPositionTokenAccount extends string,
TAccountToken2022Program extends string,
TProgramAddress extends
Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">,
>(
input: ClosePositionWithTokenExtensionsInput<
TAccountPositionAuthority,
TAccountReceiver,
TAccountPosition,
TAccountPositionMint,
TAccountPositionTokenAccount,
TAccountToken2022Program,
>,
config?: { programAddress?: TProgramAddress },
): ClosePositionWithTokenExtensionsInstruction<
TProgramAddress,
TAccountPositionAuthority,
TAccountReceiver,
TAccountPosition,
TAccountPositionMint,
TAccountPositionTokenAccount,
TAccountToken2022Program,
> Type Parameters
- TAccountPositionAuthority extends string
- TAccountReceiver extends string
- TAccountPosition extends string
- TAccountPositionMint extends string
- TAccountPositionTokenAccount extends string
- TAccountToken2022Program extends string
- TProgramAddress extends Address = Address<"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc">