typescript-sdk

Home > @3rdweb/sdk > ModuleWithRoles > prepareBatchMetadata

ModuleWithRoles.prepareBatchMetadata() method

Prepares a list of metadata for uploading.

Signature:

prepareBatchMetadata(metadata: MetadataURIOrObject[]): Promise<string[]>;

Parameters

Parameter Type Description
metadata MetadataURIOrObject[] List of metadata to prepare for upload.

Returns:

Promise<string[]>