Function getCapsuleNFTPrivateKey

  • Name

    getCapsuleNFTPrivateKey

    Summary

    Retrieves the capsule NFT private key to decrypt the secret hashes from properties.

    Returns

    A string containing the capsule NFT private key.

    Parameters

    • nftId: number

      The capsule NFT id.

    • requesterPair: IKeyringPair

      Account of the capsule NFT's owner or the decrypter account if NFT is delegated or rented.

    • requesterRole: TernoaHelpers.RequesterType

      Kind of the capsule NFT's decrypter: it can be either "OWNER", "DELEGATEE" or "RENTEE"

    • clusterId: number = 0

      The TEE Cluster id.

    Returns Promise<string>

Generated using TypeDoc