is Wallet On Device
Checks if a wallet's shares are present on the device for a given chain ID.
If no chain ID is provided, it defaults to checking for a wallet in the PortalNamespace.EIP155 namespace.
Return
A Result containing true if the wallet is on the device, false otherwise.
Parameters
chain Id
The optional chain ID to check for. If null, it checks for PortalNamespace.EIP155.
Throws
if the client is not set.
Checks if a wallet's shares are present on the device for a given PortalNamespace.
This function determines if a wallet's shares are stored on the device by checking if shares exist for the specified namespace.
Return
A Result containing true if the wallet is on the device, false otherwise.
Parameters
namespace
The PortalNamespace to check for.
Throws
if the client is not set.