import { createDelayedRevealBatch } from "thirdweb/extensions/erc721";
 
const placeholderNFT = {
  name: "Hidden NFT",
  description: "Will be revealed next week!"
};
 
const realNFTs = [{
  name: "Common NFT #1",
  description: "Common NFT, one of many.",
  image: ipfs://...,
}, {
  name: "Super Rare NFT #2",
  description: "You got a Super Rare NFT!",
  image: ipfs://...,
}];
 
const transaction = createDelayedRevealBatch({
 contract,
 placeholderMetadata: placeholderNFT,
 metadata: realNFTs,
 password: "password123",
});
 
const { transactionHash } = await sendTransaction({ transaction, account });