Extracts all private keys from the wallet using a specified backup method.
method
: The backup method to use. Supported methods:
.GoogleDrive
: Authenticate using Google Drive backup.iCloud
: Authenticate using iCloud backup.Password
: Authenticate using password.Passkey
: Authenticate using passkey.local
: Authenticate using local backupwithCipherText
: Optional cipher text from a previous backupandOrganizationBackupShare
: Optional backup share provided by the organization for EVM chainsandOrganizationSolanaBackupShare
: Optional backup share provided by the organization specifically for SolanaPortalNamespace
to private keys, where:
.eip155
key contains the Ethereum/EVM private key.solana
key contains the Solana private keyportal.ejectPrivateKeys()
at your own risk!