Docs

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,
});

Parameters

Returns

The prepared transaction to send.