DelayedReveal.reveal() method
Reveal a batch of hidden NFTs
Example
// the batch to reveal
const batchId = 0;
// reveal the batch
await contract.revealer.reveal(batchId, "my secret password");
Signature:
reveal(batchId: BigNumberish, password: string): Promise<TransactionResult>;
Parameters
Parameter | Type | Description |
---|---|---|
batchId | BigNumberish | the id of the batch to reveal |
password | string | the password |
Returns:
Promise<TransactionResult>
Remarks
Reveal the NFTs of a batch using the password.