Coda by Ian Macalinao
    Preparing search index...

    Type Alias ApproveCollectionAuthorityInstruction<TProgram, TAccountCollectionAuthorityRecord, TAccountNewCollectionAuthority, TAccountUpdateAuthority, TAccountPayer, TAccountMetadata, TAccountMint, TAccountSystemProgram, TAccountRent, TRemainingAccounts>

    ApproveCollectionAuthorityInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountCollectionAuthorityRecord extends string
                ? WritableAccount<TAccountCollectionAuthorityRecord>
                : TAccountCollectionAuthorityRecord,
            TAccountNewCollectionAuthority extends string
                ? ReadonlyAccount<TAccountNewCollectionAuthority>
                : TAccountNewCollectionAuthority,
            TAccountUpdateAuthority extends string
                ? WritableSignerAccount<TAccountUpdateAuthority> & AccountSignerMeta<
                    TAccountUpdateAuthority,
                >
                : TAccountUpdateAuthority,
            TAccountPayer extends string
                ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<
                    TAccountPayer,
                >
                : TAccountPayer,
            TAccountMetadata extends string
                ? ReadonlyAccount<TAccountMetadata>
                : TAccountMetadata,
            TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
            TAccountSystemProgram extends string
                ? ReadonlyAccount<TAccountSystemProgram>
                : TAccountSystemProgram,
            ...(
                TAccountRent extends undefined
                    ? []
                    : [
                        TAccountRent extends string
                            ? ReadonlyAccount<TAccountRent>
                            : TAccountRent,
                    ]
            ),
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof TOKEN_METADATA_PROGRAM_ADDRESS
    • TAccountCollectionAuthorityRecord extends string | AccountMeta = string
    • TAccountNewCollectionAuthority extends string | AccountMeta = string
    • TAccountUpdateAuthority extends string | AccountMeta = string
    • TAccountPayer extends string | AccountMeta = string
    • TAccountMetadata extends string | AccountMeta = string
    • TAccountMint extends string | AccountMeta = string
    • TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111"
    • TAccountRent extends string | AccountMeta | undefined = undefined
    • TRemainingAccounts extends readonly AccountMeta[] = []