Type Alias DeleteTokenBadgeInstruction<TProgram, TAccountWhirlpoolsConfig, TAccountWhirlpoolsConfigExtension, TAccountTokenBadgeAuthority, TAccountTokenMint, TAccountTokenBadge, TAccountReceiver, TRemainingAccounts>

DeleteTokenBadgeInstruction: IInstruction<TProgram> & IInstructionWithData<
    Uint8Array,
> & IInstructionWithAccounts<
    [
        TAccountWhirlpoolsConfig extends string
            ? ReadonlyAccount<TAccountWhirlpoolsConfig>
            : TAccountWhirlpoolsConfig,
        TAccountWhirlpoolsConfigExtension extends string
            ? ReadonlyAccount<TAccountWhirlpoolsConfigExtension>
            : TAccountWhirlpoolsConfigExtension,
        TAccountTokenBadgeAuthority extends string
            ? ReadonlySignerAccount<TAccountTokenBadgeAuthority> & IAccountSignerMeta<
                TAccountTokenBadgeAuthority,
            >
            : TAccountTokenBadgeAuthority,
        TAccountTokenMint extends string
            ? ReadonlyAccount<TAccountTokenMint>
            : TAccountTokenMint,
        TAccountTokenBadge extends string
            ? WritableAccount<TAccountTokenBadge>
            : TAccountTokenBadge,
        TAccountReceiver extends string
            ? WritableAccount<TAccountReceiver>
            : TAccountReceiver,
        ...TRemainingAccounts,
    ],
>

Type Parameters

  • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
  • TAccountWhirlpoolsConfig extends string | IAccountMeta<string> = string
  • TAccountWhirlpoolsConfigExtension extends string | IAccountMeta<string> = string
  • TAccountTokenBadgeAuthority extends string | IAccountMeta<string> = string
  • TAccountTokenMint extends string | IAccountMeta<string> = string
  • TAccountTokenBadge extends string | IAccountMeta<string> = string
  • TAccountReceiver extends string | IAccountMeta<string> = string
  • TRemainingAccounts extends readonly IAccountMeta<string>[] = []