isWalletBackedUp

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

Checks if a wallet is backed up 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 the wallet is backed up, 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 isWalletBackedUp(namespace: PortalNamespace): Boolean

Checks if a wallet is backed up for a given PortalNamespace.

This function determines if a wallet is backed up for the specified namespace by checking for a completed backup share pair.

Return

true if the wallet is backed up, false otherwise.

Parameters

namespace

The PortalNamespace to check for.

Throws

if the client is not set.