Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 740 Bytes

core_unload_wallet.md

File metadata and controls

33 lines (27 loc) · 740 Bytes
title type
Unload Wallet
core

Unload Wallet

Unloads specified wallet.

Method: unloadWallet

Input parameters:

Parameter Type Required Description
wallet String No Base58 Primary Wallet address in case multiple wallets are being used.

Errors:

Error Description
RPC_INTERNAL_ERROR An unknown error occurred in the node. Please check the node log for details.

Output:

  • a JSON object with "OK" string, if wallet was unloaded in result field.
  • a JSON object with "FAIL" string in result field, if wallet can't be unloaded.

Example:

GET http://localhost:8081/unloadWallet

{
  "result": "OK",
  "error": null,
  "id": null
}