IDelayedReveal
Thirdweb's DelayedReveal
is a contract extension for base NFT contracts. It lets you create batches of 'delayed-reveal' NFTs. You can learn more about the usage of delayed reveal NFTs here - https://blog.thirdweb.com/delayed-reveal-nfts
Methods
encryptDecrypt
Performs XOR encryption/decryption.
Parameters
data
bytes
The data to encrypt. In the case of delayed-reveal NFTs, this is the "revealed" state base URI of the relevant batch of NFTs.
key
bytes
The key with which to encrypt data
Returns
result
bytes
undefined
reveal
Reveals a batch of delayed reveal NFTs.
Parameters
identifier
uint256
The ID for the batch of delayed-reveal NFTs to reveal.
key
bytes
The key with which the base URI for the relevant batch of NFTs was encrypted.
Returns
revealedURI
string
undefined
Events
TokenURIRevealed
Emitted when tokens are revealed.
Parameters
index indexed
uint256
undefined
revealedURI
string
undefined
Last updated