typescript-sdk

Home > @3rdweb/sdk > IpfsStorage > uploadBatch

IpfsStorage.uploadBatch() method

Signature:

uploadBatch(files: Buffer[] | string[] | FileOrBuffer[] | File[] | BufferOrStringWithName[], contractAddress?: string, fileStartNumber?: number): Promise<string>;

Parameters

Parameter Type Description
files Buffer[] | string[] | FileOrBuffer[] | File[] | BufferOrStringWithName[]  
contractAddress string  
fileStartNumber number  

Returns:

Promise<string>