Coda by Ian Macalinao
    Preparing search index...

    Type Alias ParsedCreateV1Instruction<TProgram, TAccountMetas>

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

    Type Parameters

    Index

    Properties

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

    Type Declaration

    • asset: TAccountMetas[0]

      The address of the new asset

    • Optionalauthority?: TAccountMetas[2]

      The authority signing for creation

    • Optionalcollection?: TAccountMetas[1]

      The collection to which the asset belongs

    • OptionallogWrapper?: TAccountMetas[7]

      The SPL Noop Program

    • Optionalowner?: TAccountMetas[4]

      The owner of the new asset. Defaults to the authority if not present.

    • payer: TAccountMetas[3]

      The account paying for the storage fees

    • systemProgram: TAccountMetas[6]

      The system program

    • OptionalupdateAuthority?: TAccountMetas[5]

      The authority on the new asset

    programAddress: Address<TProgram>