forChainId: Optional chain identifier (e.g., “eip155:1” for Ethereum mainnet, “solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp” for Solana mainnet). If nil, checks backup status across all chains.
- When forChainId is provided:
- Returns
trueif a wallet exists for the specified chain and has at least one completed backup share - Returns
falseif no wallet exists or if no backup shares are completed
- Returns
- When forChainId is
nil:- Returns
trueif any wallet exists and has at least one completed backup share - Returns
falseif no wallets exist or if no backup shares are completed
- Returns
PortalClassError.clientNotAvailableif the client is not initialized
- The method only considers backup shares with a status of
.completed - Incomplete or pending backups are not considered when determining backup status
- Useful for ensuring wallet security and prompting users to complete backup
- Should be checked before performing critical operations
-
After Wallet Creation:
-
Security Checks: