Beta 
an instance of a NFTContract with the drop extension
Optional onProgress: ((progress) => void)an optional callback that will be called with the progress of the upload
a mutation object that can be used to lazy mint a batch of NFTs
const Component = () => {
  const { contract } = useContract("{{contract_address}}");
  const {
    mutate: lazyMint,
    isLoading,
    error,
  } = useLazyMint(contract);
  if (error) {
    console.error("failed to lazy mint NFT", error);
  }
  return (
    <button
      disabled={isLoading}
      onClick={() => lazyMint({ metadatas: [{ name: "My NFT!"}] })}
    >
      Lazy mint NFT!
    </button>
  );
};
ERC721LazyMintable | ERC1155LazyMintable
Generated using TypeDoc
Lazy mint NFTs