Home > @3rdweb/sdk > IStorage > uploadMetadataBatch
Uploads metadata to IPFS
Signature:
uploadMetadataBatch(metadatas: MetadataURIOrObject[], contractAddress?: string, fileStartNumber?: number): Promise<UploadMetadataBatchResult>;
Parameter | Type | Description |
---|---|---|
metadatas | MetadataURIOrObject[] | |
contractAddress | string | Optional. The contract address the data belongs to. |
fileStartNumber | number |
Returns:
Promise<UploadMetadataBatchResult>