Function Signature
Description
Checks if a wallet exists for the client. Can optionally check for a specific chain.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
chainId | String | No | Optional chain ID to check. If null, checks for any wallet. |
Returns
bool - true if a wallet exists, false otherwise.
Example
Check Specific Chain
Errors
| Code | Description |
|---|---|
NOT_INITIALIZED | Portal was not initialized |