Recovery Operations
When users lose their encryption context (passphrase, biometric data, etc.), you can restore wallet access using the recovery key stored during wallet creation. This process updates all key shards with a new encryption context while maintaining the same wallet address.When to Use Recovery
Forgotten Passphrase
User has forgotten their original passphrase but still has access to your application.
Device Loss
User lost their device containing biometric data or other encryption context.
Recovery Process
The recovery operation performs the following steps:- Retrieve stored
recovery_key
from your database - Call Core API recovery endpoint with new
encryption_context
- Update stored keys with new
access_key
andrecovery_key
- Maintain the same wallet address and public key
Recovery operations update all key shards. Ensure you have proper backup procedures before initiating recovery.
API Reference
Confirm Recovery
Restore wallet access with a new encryption context using the recovery key.cURL
Request Parameters
The wallet UUID returned from wallet creation.
The new encryption context to be applied to the recovered wallet’s key shards.
The recovery key returned from wallet creation. Retrieve from your database.
Response Fields
The identifier of the recovered wallet.
New recovery key for future recovery operations. Update your database with this value.
New access key for non-recovery operations. Update your database with this value.
Recovery operations update all key shards. Ensure you update your database with the new
recovery_key
and access_key
values returned from this operation.