isWalletOnDevice

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

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

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.