Erc1155SignatureMintable.mintBatch() method
Mint any number of dynamically generated NFT at once
Example
// see how to craft a batch of payloads to sign in the `generateBatch()` documentation
const signedPayloads = contract.erc1155.signature.generateBatch(payloads);
// now anyone can mint the NFT
const tx = contract.erc1155.signature.mintBatch(signedPayloads);
Signature:
mintBatch(signedPayloads: SignedPayload1155[]): Promise<TransactionResultWithId[]>;
Parameters
Parameter | Type | Description |
---|---|---|
signedPayloads | SignedPayload1155[] | the array of signed payloads to mint |
Returns:
Promise<TransactionResultWithId[]>
Remarks
Mint multiple dynamic NFTs in one transaction. Note that this is only possible for free mints (cannot batch mints with a price attached to it for security reasons)