Get Enabled GUI Storage Account
API-v2gui_storage::get_enabled_account
Returns the account marked as enabled. If no account is enabled the method returns an error.
| Parameter | Type | Required | Description |
|---|---|---|---|
| None | N/A | This method has no parameters. |
| Parameter | Type | Description |
|---|---|---|
| account_id | AccountId | Identifier of the enabled account. |
| name | string | Account display name. |
| description | string | Optional description. |
| balance_usd | string (numeric) | USD balance snapshot. |
| coins | array of strings | Set of tickers linked to the account. |
get_enabled_account
POST
gui_storage::get_enabled_account{
"mmrpc": "2.0",
"method": "gui_storage::get_enabled_account",
"params": {},
"id": 15,
"userpass": "RPC_UserP@SSW0RD"
}
| Parameter | Type | Description |
|---|---|---|
| NoEnabledAccount | string | There is no account currently enabled. |
| ErrorLoadingAccount | string | Storage read error. |
| InternalError | string | Unhandled internal error. |