recoverKeys

fun recoverKeys(passphraseResolver: FireblocksPassphraseResolver, callback: (result: Set<KeyRecovery>) -> Unit? = null)

Recover an end-user key backup that was done using backupKeys method

Parameters

passphraseResolver

as FireblocksPassphraseResolver returns the passphrase for a given passphrase id. The passphrase is used to decrypt the backed up MPC key. The passphrase must be unique and secure, use the same passphrase that was used to backup the MPC key with backupKeys method

callback

invoked with the Set of KeyRecovery with the information of all recovered keys

Throws

if the recoverKeys method is already running