Coda by Ian Macalinao
    Preparing search index...

    Type Alias SetCollectionSizeInstruction<TProgram, TAccountCollectionMetadata, TAccountCollectionAuthority, TAccountCollectionMint, TAccountCollectionAuthorityRecord, TRemainingAccounts>

    SetCollectionSizeInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountCollectionMetadata extends string
                ? WritableAccount<TAccountCollectionMetadata>
                : TAccountCollectionMetadata,
            TAccountCollectionAuthority extends string
                ? WritableSignerAccount<TAccountCollectionAuthority> & AccountSignerMeta<
                    TAccountCollectionAuthority,
                >
                : TAccountCollectionAuthority,
            TAccountCollectionMint extends string
                ? ReadonlyAccount<TAccountCollectionMint>
                : TAccountCollectionMint,
            ...(
                TAccountCollectionAuthorityRecord extends undefined
                    ? []
                    : [
                        TAccountCollectionAuthorityRecord extends string
                            ? ReadonlyAccount<TAccountCollectionAuthorityRecord>
                            : TAccountCollectionAuthorityRecord,
                    ]
            ),
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof TOKEN_METADATA_PROGRAM_ADDRESS
    • TAccountCollectionMetadata extends string | AccountMeta = string
    • TAccountCollectionAuthority extends string | AccountMeta = string
    • TAccountCollectionMint extends string | AccountMeta = string
    • TAccountCollectionAuthorityRecord extends string | AccountMeta | undefined = undefined
    • TRemainingAccounts extends readonly AccountMeta[] = []