On this page

latest contributor to this doc

Last Edit:

@smk762

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.

StructureTypeDescription
(none)

StructureTypeDescription
wallet_nameslistNames of wallets stored on a user's device.
activated_walletstringNames 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
}