Function
updateEncryptedKey(params)
Re-encrypts an existing wrapped key and appends the previous state to the versions array.
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 update.
New base64-encrypted ciphertext to store.
Optional updated memo for the wrapped key.
Optional updated ACCs for EVM contract conditions.
Optional price ceiling for the Lit Action.
Returns
Returns
id, pkpAddress, and updatedAt of the updated wrapped key.