Docs

lazyMint

Lazily mints ERC1155 tokens.

Example

import { lazyMint } from "thirdweb/extensions/erc1155";
const tx = await lazyMint({
contract,
nfts: [
{
name: "My NFT",
description: "This is my NFT",
image: "https://example.com/image.png",
},
],
});

Parameters

Returns

A promise that resolves to the prepared contract call.