isWalletOnDevice

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

Deprecated

Use isWalletOnDeviceOrThrow() instead, which propagates errors rather than defaulting to false.

Replace with

isWalletOnDeviceOrThrow(chainId)

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

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.


suspend fun isWalletOnDevice(namespace: PortalNamespace): Boolean

Deprecated

Use isWalletOnDeviceOrThrow() instead, which propagates errors rather than defaulting to false.

Replace with

isWalletOnDeviceOrThrow(namespace)

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

Return

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

Parameters

namespace

The PortalNamespace representing the chain to check.