isWalletOnDeviceOrThrow

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

Checks if a wallet exists on the device for the specified chain ID.

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

Return

True if a wallet exists on the device, false otherwise.

Parameters

chainId

The ID of the chain to check. If null, checks for the existence of any wallet.

Throws

if the device wallet check encounters an error.


Checks if a wallet exists on the device for the specified PortalNamespace.

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

Return

True if a wallet exists on the device, false otherwise.

Parameters

namespace

The PortalNamespace representing the chain to check.

Throws

if the device wallet check encounters an error.