closewallet Method
Closes the current wallet.
note
Before you can invoke this method you must:
Install the plugin RpcServer
Call the RPC method
openwallet
to open the wallet first.
#
ExampleRequest body:
{ "jsonrpc": "2.0", "method": "closewallet", "params": [], "id": 1}
Response body:
{ "jsonrpc": "2.0", "id": 1, "result": true}
Response Description:
true: The wallet is closed successfully. Others: failure