DasApiCoreAssetFields: {
    external_plugins?: Record<string, any>[];
    mpl_core_info?: {
        current_size?: number;
        num_minted?: number;
        plugins_json_version: number;
    };
    plugins?: Record<string, any>;
    unknown_external_plugins?: Record<string, any>[];
    unknown_plugins?: Record<string, any>[];
}

Optional fields on an asset if the interface is for Core (i.e. interface is 'MplCoreAsset' or 'MplCoreCollection') It is recommended to use the mpl-core-das package along with this one to convert the types to be consistent with mpl-core (e.g. AssetV1)

Type declaration

  • Optional external_plugins?: Record<string, any>[]

    External plugins active on the asset or collection

  • Optional mpl_core_info?: {
        current_size?: number;
        num_minted?: number;
        plugins_json_version: number;
    }

    Additional fields that are indexed for Core assets or collections

    • Optional current_size?: number

      Current number of assets in this collection Only applicable for collections

    • Optional num_minted?: number

      Number of assets minted to this collection Only applicable for collections

    • plugins_json_version: number
  • Optional plugins?: Record<string, any>

    Plugins active on the asset or collection

  • Optional unknown_external_plugins?: Record<string, any>[]

    External plugin adapters on the asset/collection that were unknown at the time of indexing. Contact your DAS provider to update their core indexing version if this field is being populated. If you have an up-to-date version of mpl-core-das installed, that library will also try to deserialize the plugin

  • Optional unknown_plugins?: Record<string, any>[]

    Plugins on the asset/collection that were unknown at the time of indexing. Contact your DAS provider to update their core indexing version if this field is being populated. If you have an up-to-date version of mpl-core-das installed, that library will also try to deserialize the plugin

Generated using TypeDoc