Skip to main content

Function Signature

Description

Recovers a wallet from a backup using the specified backup method. This is used when a user needs to access their wallet on a new device.

Parameters

Returns

PortalAddresses - An object containing the recovered wallet addresses: bitcoin, stellar, tron and xrpl are null when the client has no address for that chain. They’re looked up after the wallet is recovered. If that lookup fails, recoverWallet still succeeds and these fields are null, and on Android so is solana. Call getAddresses() to fetch them.

Example

Self-Managed Backup Recovery

Errors