backupKeys

fun backupKeys(passphrase: String, passphraseId: String, callback: (result: Set<KeyBackup>) -> Unit? = null)

Backup end-user keys to Fireblocks

Parameters

passphrase

In order to encrypt and backup the MPC key. The passphrase must be unique and secure, use generateRandomPassphrase method

passphraseId

In order to identify the backed up MPC key. The passphraseId must be unique, use generatePassphraseId method

callback

invoked with the Set of KeyBackup with the information of all backed up keys

Throws

if the backupKeys method is already running