Type Alias DeletePositionBundleInstruction<TProgram, TAccountPositionBundle, TAccountPositionBundleMint, TAccountPositionBundleTokenAccount, TAccountPositionBundleOwner, TAccountReceiver, TAccountTokenProgram, TRemainingAccounts>

DeletePositionBundleInstruction: IInstruction<TProgram> & IInstructionWithData<
    Uint8Array,
> & IInstructionWithAccounts<
    [
        TAccountPositionBundle extends string
            ? WritableAccount<TAccountPositionBundle>
            : TAccountPositionBundle,
        TAccountPositionBundleMint extends string
            ? WritableAccount<TAccountPositionBundleMint>
            : TAccountPositionBundleMint,
        TAccountPositionBundleTokenAccount extends string
            ? WritableAccount<TAccountPositionBundleTokenAccount>
            : TAccountPositionBundleTokenAccount,
        TAccountPositionBundleOwner extends string
            ? ReadonlySignerAccount<TAccountPositionBundleOwner> & IAccountSignerMeta<
                TAccountPositionBundleOwner,
            >
            : TAccountPositionBundleOwner,
        TAccountReceiver extends string
            ? WritableAccount<TAccountReceiver>
            : TAccountReceiver,
        TAccountTokenProgram extends string
            ? ReadonlyAccount<TAccountTokenProgram>
            : TAccountTokenProgram,
        ...TRemainingAccounts,
    ],
>

Type Parameters

  • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
  • TAccountPositionBundle extends string | IAccountMeta<string> = string
  • TAccountPositionBundleMint extends string | IAccountMeta<string> = string
  • TAccountPositionBundleTokenAccount extends string | IAccountMeta<string> = string
  • TAccountPositionBundleOwner extends string | IAccountMeta<string> = string
  • TAccountReceiver extends string | IAccountMeta<string> = string
  • TAccountTokenProgram extends string | IAccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
  • TRemainingAccounts extends readonly IAccountMeta<string>[] = []