Function Signature
Description
Retrieves client information from the Portal backend, including the client ID and list of wallets.Parameters
This method takes no parameters.Returns
PortalClientInfo - An object containing:
| Property | Type | Description |
|---|---|---|
id | String | The client ID |
wallets | List<PortalWallet?> | List of wallets |
PortalWallet
| Property | Type | Description |
|---|---|---|
id | String | Wallet ID |
curve | String | The cryptographic curve used (e.g., “secp256k1”, “ed25519”) |
ejectableUntil | String? | ISO timestamp until which private keys can be ejected (null if not ejectable) |
Example
Use Cases
Check Eject Availability
Errors
| Code | Description |
|---|---|
NOT_INITIALIZED | Portal was not initialized |
FETCH_FAILED | Failed to fetch client information |