Lazily mints ERC721 tokens.
import { lazyMint } from "thirdweb/extensions/erc721";import { sendTransaction } from "thirdweb"; const transaction = lazyMint({ contract, nfts: [ { name: "My NFT", description: "This is my NFT", image: "https://example.com/image.png", }, ],}); await sendTransaction({ transaction, account });
function lazyMint( options: BaseTransactionOptions<LazyMintParams>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for the lazy minting process.
let options: BaseTransactionOptions<LazyMintParams>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
A promise that resolves to the prepared contract call.