typescript-sdk

Home > @3rdweb/sdk > DropModule > createBatch

DropModule.createBatch() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Create batch allows you to create a batch of tokens in one transaction. This function can only be called once per module at the moment.

Signature:

createBatch(metadatas: MetadataURIOrObject[]): Promise<string[]>;

Parameters

Parameter Type Description
metadatas MetadataURIOrObject[] The metadata to include in the batch.

Returns:

Promise<string[]>