importwallet

importwallet "filename"

Imports keys from a wallet dump file (see dumpwallet). After importing, a new wallet backup is required to include the imported keys.

Note: Use getwalletinfo to monitor the scanning progress.

Argument #1 – filename

Type: string, required

The wallet file

Result

null    (json null)

Examples

Dump the wallet:

bitcoinevo-cli dumpwallet "test"

Import the wallet:

bitcoinevo-cli importwallet "test"

Import using the json rpc call:

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "importwallet", "params": ["test"]}' -H 'content-type: text/plain;' http://127.0.0.1:7332/