Function
getEncryptedKey(params)
Fetches the encrypted ciphertext and metadata for a stored wrapped key without decrypting it.
Parameters
Session signatures identifying the PKP that owns the wrapped key.
Lit client instance used to talk to the wrapped-keys service.
Identifier of the wrapped key to retrieve.
Optional flag to return the
versions array of prior states.Optional price ceiling for the Lit Action.
Returns
Includes ciphertext,
dataToEncryptHash, memo, key type, public key, PKP address, and (when requested) versions + updatedAt.