Public Key to encrypt the file.
A TernoaIPFS instance.
Optional
nftMetadata: Partial<NftMetadataType>Optional secret NFT metadata (Title, Description, (...)) here.
Optional
mediaMetadata: MediaMetadataTypeOptional asset NFT metadata (Name, Description, (...)) here.
The data object with the secret NFT IPFS hash (ex: to add as offchain secret metadatas in the extrinsic).
secretNftEncryptAndUploadFile
Encrypts and uploads a file on an IFPS gateway.
Generated using TypeDoc
File to encrypt and then upload on IPFS.