doesWalletExist

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

Checks if a wallet exists for the specified chain ID.

Return

True if a wallet exists, false otherwise.

Parameters

chainId

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


suspend fun doesWalletExist(namespace: PortalNamespace): Boolean

Checks if a wallet exists for the specified PortalNamespace.

Return

True if a wallet exists, false otherwise.

Parameters

namespace

The PortalNamespace representing the chain to check.