Deactivates wallet
CLI Example
Command syntax:
wallet deactivate
-w <wallet_name>
-password <password>
Options:
-w - name of the wallet
-password - wallet password
Example:
Command:
cellframe-node-cli wallet deactivate
-w personalwallet
-password 1234
Response:
Wallet personalwallet is deactivated
JSON-RPC Example
Command:
curl -X POST http://rpc.cellframe.net/connect -d '{"method":"wallet", "params":["wallet;deactivate;-w;mywallet;-password;12345"], "id":"1"}'
Response:
{
"type": 0,
"result": "Wallet mywallet is deactivated\n",
"errors": null,
"id": 1
}