doesWalletExist

open suspend override fun doesWalletExist(chainId: String?): Boolean

Checks if a wallet exists for a given chain ID.

If no chain ID is provided, it defaults to checking for a wallet in the PortalNamespace.EIP155 namespace.

Return

true if a wallet exists, false otherwise.

Parameters

chainId

The optional chain ID to check for. If null, it checks for PortalNamespace.EIP155.

Throws

if the client is not set.


open suspend override fun doesWalletExist(namespace: PortalNamespace): Boolean

Checks if a wallet exists for a given PortalNamespace.

This function determines if a wallet exists for the specified namespace by checking for a completed signing share pair.

Return

true if a wallet exists, false otherwise.

Parameters

namespace

The PortalNamespace to check for.

Throws

If the client is not set.