isWalletRecoverableOrThrow

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

Checks if the wallet is recoverable for a given chain ID.

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

Return

true if the wallet is recoverable for the given (or default) chain ID, false otherwise.

Parameters

chainId

(Optional) The ID of the blockchain network to check against. If null, the check is performed against the default or primary chain associated with the keychain.

Throws

if the recoverability check encounters an error.


Checks if a wallet is recoverable for the specified PortalNamespace.

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

Return

True if the wallet is recoverable, false otherwise.

Parameters

namespace

The PortalNamespace representing the chain to check.

Throws

if the recoverability check encounters an error.