On this page

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.

ParameterTypeRequiredDescription
NoneN/AThis method has no parameters.

The response is an array of objects with the following fields:

ParameterTypeDescription
account_idAccountIdUnique identifier of the stored account.
balance_usdstring (numeric)USD balance snapshot stored with the account (optional).
descriptionstringOptional user-supplied description.
enabledbooleantrue if this account is the active one. Only one account should be enabled at a time.
namestringDisplay 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.