get_wallet_names
The get_wallet_names method returns returns a list of wallet names for a user's device. If the user is logged in, it will also return the name of the active wallet.
| Structure | Type | Description |
|---|---|---|
| (none) |
| Structure | Type | Description |
|---|---|---|
| wallet_names | list | Names of wallets stored on a user's device. |
| activated_wallet | string | Names of the currrently active wallet. If not yet logged in, returns null. |
POST
get_wallet_names{
"userpass": "RPC_UserP@SSW0RD",
"mmrpc": "2.0",
"method": "get_wallet_names",
"id": 0
}
{
"mmrpc": "2.0",
"result": {
"wallet_names": ["Robert Paulson", "Spartacus", "John Galt", "Kaiser Soze"],
"activated_wallet": null
},
"id": 0
}
{
"mmrpc": "2.0",
"result": {
"wallet_names": ["Robert Paulson", "Spartacus", "John Galt", "Kaiser Soze"],
"activated_wallet": "Robert Paulson"
},
"id": 0
}