ejectPrivateKeys

open suspend fun ejectPrivateKeys(clientBackupCiphertext: String? = null, orgBackupShare: String? = null, orgSolanaBackupShare: String? = null, backupMethod: BackupMethods): Map<PortalNamespace, String>

Ejects multiple private keys from the MPC storage using the provided backup method.

Return

A map containing the extracted private keys for different blockchain namespaces.

Parameters

clientBackupCiphertext

The client backup ciphertext, if available.

orgBackupShare

The organization backup share, if available.

orgSolanaBackupShare

The organization backup share for Solana, if available.

backupMethod

The backup method used for ejection.

Throws

If the version is not v6, if no backup share is found, or if ejection fails.