Reveals a previously lazy minted batch of NFTs.
import { reveal } from "thirdweb/extensions/erc721"; const transaction = await reveal({ contract: contract, batchId: 0, password: "password",}); const { transactionHash } = await sendTransaction({ transaction, account,});
function reveal( options: BaseTransactionOptions<RevealParams>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
{RevealParams} - The reveal parameters.
let options: BaseTransactionOptions<RevealParams>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
The prepared transaction to send.