Coda by Ian Macalinao
    Preparing search index...

    Type Alias SetAndVerifyCollectionInstruction<TProgram, TAccountMetadata, TAccountCollectionAuthority, TAccountPayer, TAccountUpdateAuthority, TAccountCollectionMint, TAccountCollection, TAccountCollectionMasterEditionAccount, TAccountCollectionAuthorityRecord, TRemainingAccounts>

    SetAndVerifyCollectionInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountMetadata extends string
                ? WritableAccount<TAccountMetadata>
                : TAccountMetadata,
            TAccountCollectionAuthority extends string
                ? WritableSignerAccount<TAccountCollectionAuthority> & AccountSignerMeta<
                    TAccountCollectionAuthority,
                >
                : TAccountCollectionAuthority,
            TAccountPayer extends string
                ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<
                    TAccountPayer,
                >
                : TAccountPayer,
            TAccountUpdateAuthority extends string
                ? ReadonlyAccount<TAccountUpdateAuthority>
                : TAccountUpdateAuthority,
            TAccountCollectionMint extends string
                ? ReadonlyAccount<TAccountCollectionMint>
                : TAccountCollectionMint,
            TAccountCollection extends string
                ? ReadonlyAccount<TAccountCollection>
                : TAccountCollection,
            TAccountCollectionMasterEditionAccount extends string
                ? ReadonlyAccount<TAccountCollectionMasterEditionAccount>
                : TAccountCollectionMasterEditionAccount,
            ...(
                TAccountCollectionAuthorityRecord extends undefined
                    ? []
                    : [
                        TAccountCollectionAuthorityRecord extends string
                            ? ReadonlyAccount<TAccountCollectionAuthorityRecord>
                            : TAccountCollectionAuthorityRecord,
                    ]
            ),
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof TOKEN_METADATA_PROGRAM_ADDRESS
    • TAccountMetadata extends string | AccountMeta = string
    • TAccountCollectionAuthority extends string | AccountMeta = string
    • TAccountPayer extends string | AccountMeta = string
    • TAccountUpdateAuthority extends string | AccountMeta = string
    • TAccountCollectionMint extends string | AccountMeta = string
    • TAccountCollection extends string | AccountMeta = string
    • TAccountCollectionMasterEditionAccount extends string | AccountMeta = string
    • TAccountCollectionAuthorityRecord extends string | AccountMeta | undefined = undefined
    • TRemainingAccounts extends readonly AccountMeta[] = []