reveal

Reveals a previously lazy minted batch of NFTs.

Example

import { reveal } from "thirdweb/extensions/erc721";
const transaction = await reveal({
contract: contract,
batchId: 0,
password: "password",
});
const { transactionHash } = await sendTransaction({
transaction,
account,
});
function reveal(

Parameters

{RevealParams} - The reveal parameters.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

The prepared transaction to send.