List GUI Storage Accounts
API-v2gui_storage::get_accounts
Fetches an array of all accounts persisted in GUI storage. Each element includes a boolean flag that indicates whether the account is currently enabled.
Parameter | Type | Required | Description |
---|---|---|---|
None | N/A | This method has no parameters. |
The response is an array of objects with the following fields:
Parameter | Type | Description |
---|---|---|
account_id | AccountId | Unique identifier of the stored account. |
balance_usd | string (numeric) | USD balance snapshot stored with the account (optional). |
description | string | Optional user-supplied description. |
enabled | boolean | true if this account is the active one. Only one account should be enabled at a time. |
name | string | Display name for the account. |
get_accounts
POST
gui_storage::get_accounts{
"mmrpc": "2.0",
"method": "gui_storage::get_accounts",
"params": {},
"id": 11,
"userpass": "RPC_UserP@SSW0RD"
}
This method does not define any custom error types beyond the generic JSON-RPC error set. If an internal storage error occurs it will surface as InternalError
.