Skip to main content

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

ParameterTypeDescription
batchIdBigNumberishthe id of the batch to reveal
passwordstringthe password

Returns:

Promise<TransactionResult>

Remarks

Reveal the NFTs of a batch using the password.