RPC Browser

Arguments


Help Content

dumpprivkey "address"

Reveals the private key corresponding to 'address'.
Then the importprivkey can be used with this output
Note: This command is only compatible with legacy wallets.

Arguments:
1. address    (string, required) The bitcoinII address for the private key

Result:
"str"    (string) The private key

Examples:
> bitcoinII-cli dumpprivkey "myaddress"
> bitcoinII-cli importprivkey "mykey"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "dumpprivkey", "params": ["myaddress"]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/

address

{
    "name": "address",
    "detailsLines": [],
    "properties": [
        "string",
        "required"
    ],
    "description": "The bitcoinII address for the private key"
}

Recent (2)

Blockchain (33)

Control (6)

Mining (7)

Network (14)

Rawtransactions (19)

Signer (1)

Util (8)

Wallet (66)

Zmq (1)