Function Signature
Description
Checks if the wallet signing shares are stored on the current device.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
chainId | String | No | Optional chain ID to check. If null, checks for any wallet. |
Returns
bool - true if the wallet is on device, false otherwise.
Example
Use Case
This is useful for determining if a user needs to recover their wallet:Errors
| Code | Description |
|---|---|
NOT_INITIALIZED | Portal was not initialized |