typescript-sdk

Home > @3rdweb/sdk > IStorage > uploadMetadataBatch

IStorage.uploadMetadataBatch() method

Uploads metadata to IPFS

Signature:

uploadMetadataBatch(metadatas: MetadataURIOrObject[], contractAddress?: string, fileStartNumber?: number): Promise<UploadMetadataBatchResult>;

Parameters

Parameter Type Description
metadatas MetadataURIOrObject[]  
contractAddress string Optional. The contract address the data belongs to.
fileStartNumber number  

Returns:

Promise<UploadMetadataBatchResult>