import
Imports a private key into two-party MPC and returns the resulting keyId.
Use it to restore a wallet from backup, migrate an existing single-signer key into MPC protection, or recover after device loss. The resulting share is persisted to the session's StorageClient and reconciled internally.
Return
the hex-encoded keyId of the imported key.
Parameters
keysharePrivateKey
the private key bytes to place under MPC.
rootChainCode
the BIP32 root chain code, hex-encoded.
See also
to create a backup.
for completing an interrupted import.