Activate Coins in GUI Storage Account
API-v2gui_storage::activate_coins
Appends the given list of coin tickers to the wallet GUI-storage account identified by account_id. Only the metadata store is affected; the coins themselves are not activated in MarketMaker.
| Parameter | Type | Required | Description |
|---|---|---|---|
| account_id | AccountId | ✓ | Account that will gain the new tickers. |
| tickers | array of strings | ✓ | One or more coin tickers to associate with the account. |
| Parameter | Type | Description |
|---|---|---|
| result | string | Returns success when the tickers have been stored. |
activate_coins
POST
gui_storage::activate_coins{
"mmrpc": "2.0",
"method": "gui_storage::activate_coins",
"params": {
"account_id": {
"type": "hd",
"account_idx": 0
},
"tickers": [
"KMD",
"BTC"
]
},
"id": 12,
"userpass": "RPC_UserP@SSW0RD"
}
| Parameter | Type | Description |
|---|---|---|
| TickerTooLong | string | A ticker string exceeds the maximum allowed length. |
| NoSuchAccount | string | The specified account_id does not exist. |
| ErrorLoadingAccount | string | Storage read error. |
| ErrorSavingAccount | string | Storage write error. |
| InternalError | string | Unhandled internal error. |