Coda by Ian Macalinao
    Preparing search index...

    Type Alias ParsedUpdateV1Instruction<TProgram, TAccountMetas>

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

    Type Parameters

    Index

    Properties

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

    Type Declaration

    • asset: TAccountMetas[0]

      The address of the asset

    • Optionalauthority?: TAccountMetas[3]

      The update authority or update authority delegate of the asset

    • Optionalcollection?: TAccountMetas[1]

      The collection to which the asset belongs

    • OptionallogWrapper?: TAccountMetas[5]

      The SPL Noop Program

    • payer: TAccountMetas[2]

      The account paying for the storage fees

    • systemProgram: TAccountMetas[4]

      The system program

    programAddress: Address<TProgram>