isWalletBackedUpOrThrow

suspend fun isWalletBackedUpOrThrow(chainId: String? = null): Boolean

Checks if the wallet is backed up for a specific chain or globally.

Unlike isWalletBackedUp, this method propagates any underlying errors instead of silently returning false.

Return

true if the wallet is backed up, false otherwise.

Parameters

chainId

Optional. The ID of the chain for which to check the backup status. If null, it checks the global backup status (across all chains).

Throws

if the backup status check encounters an error.


Checks if the wallet associated with the given namespace is backed up.

Unlike isWalletBackedUp, this method propagates any underlying errors instead of silently returning false.

Return

true if the wallet is backed up, false otherwise.

Parameters

namespace

The PortalNamespace representing the namespace of the wallet.

Throws

if the backup status check encounters an error.