Type Alias CloseBundledPositionInstruction<TProgram, TAccountBundledPosition, TAccountPositionBundle, TAccountPositionBundleTokenAccount, TAccountPositionBundleAuthority, TAccountReceiver, TRemainingAccounts>

CloseBundledPositionInstruction: IInstruction<TProgram> & IInstructionWithData<
    Uint8Array,
> & IInstructionWithAccounts<
    [
        TAccountBundledPosition extends string
            ? WritableAccount<TAccountBundledPosition>
            : TAccountBundledPosition,
        TAccountPositionBundle extends string
            ? WritableAccount<TAccountPositionBundle>
            : TAccountPositionBundle,
        TAccountPositionBundleTokenAccount extends string
            ? ReadonlyAccount<TAccountPositionBundleTokenAccount>
            : TAccountPositionBundleTokenAccount,
        TAccountPositionBundleAuthority extends string
            ? ReadonlySignerAccount<TAccountPositionBundleAuthority> & IAccountSignerMeta<
                TAccountPositionBundleAuthority,
            >
            : TAccountPositionBundleAuthority,
        TAccountReceiver extends string
            ? WritableAccount<TAccountReceiver>
            : TAccountReceiver,
        ...TRemainingAccounts,
    ],
>

Type Parameters

  • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
  • TAccountBundledPosition extends string | IAccountMeta<string> = string
  • TAccountPositionBundle extends string | IAccountMeta<string> = string
  • TAccountPositionBundleTokenAccount extends string | IAccountMeta<string> = string
  • TAccountPositionBundleAuthority extends string | IAccountMeta<string> = string
  • TAccountReceiver extends string | IAccountMeta<string> = string
  • TRemainingAccounts extends readonly IAccountMeta<string>[] = []