Coda by Ian Macalinao
    Preparing search index...

    Type Alias ParsedUpdateCollectionV1Instruction<TProgram, TAccountMetas>

    type ParsedUpdateCollectionV1Instruction<
        TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,
        TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],
    > = {
        accounts: {
            authority?: TAccountMetas[2];
            collection: TAccountMetas[0];
            logWrapper?: TAccountMetas[5];
            newUpdateAuthority?: TAccountMetas[3];
            payer: TAccountMetas[1];
            systemProgram: TAccountMetas[4];
        };
        data: UpdateCollectionV1InstructionData;
        programAddress: Address<TProgram>;
    }

    Type Parameters

    Index

    Properties

    accounts: {
        authority?: TAccountMetas[2];
        collection: TAccountMetas[0];
        logWrapper?: TAccountMetas[5];
        newUpdateAuthority?: TAccountMetas[3];
        payer: TAccountMetas[1];
        systemProgram: TAccountMetas[4];
    }

    Type Declaration

    • Optionalauthority?: TAccountMetas[2]

      The update authority or update authority delegate of the asset

    • collection: TAccountMetas[0]

      The address of the asset

    • OptionallogWrapper?: TAccountMetas[5]

      The SPL Noop Program

    • OptionalnewUpdateAuthority?: TAccountMetas[3]

      The new update authority of the asset

    • payer: TAccountMetas[1]

      The account paying for the storage fees

    • systemProgram: TAccountMetas[4]

      The system program

    programAddress: Address<TProgram>