Checks whether wallet shares are present in the device’s keychain. This method verifies if the signing shares required for wallet operations are stored in the device’s local keychain.
forChainId
: Optional chain identifier (e.g., “eip155:1” for Ethereum mainnet, “solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp” for Solana mainnet). If nil, checks for any valid shares across all chains.true
if shares exist for the specified chainfalse
if no shares are found for the chaintrue
if any valid share exists (has non-empty ID)false
if no valid shares are foundPortalClassError.invalidChainId
if the provided chain ID format is invalidPortalClassError.unsupportedChainId
if the chain’s namespace is not supporteddoesWalletExist()
which checks for completed shares on the server