useDelayedRevealLazyMint
Hook to lazy-mint a batch of NFTs with delayed reveal ; allowing the owner to set placeholder metadata and reveal the metadata of the NFTs at a later time.
Available to use on contracts that implement the ERC721Revealable or ERC1155Revealable interfaces.
Example
Parameters
Returns
Mutation object to lazy mint a batch of NFTs
options
The mutation function takes an object as argument with below properties:
metadatas
An array of metadata objects, representing the metadata of the NFTs to be lazy-minted. Each metadata object must conform to the standard metadata properties .
password
The password used to encrypt the metadatas.
The password CANNOT be recovered once it is set. If you lose the password, you will not be able to reveal the metadata.