Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 825 Bytes

dumpprivkey.md

File metadata and controls

52 lines (34 loc) · 825 Bytes

dumpprivkey Method

Exports the private key of the specified address.

  1. Install the plugin RpcServer
  2. Call the RPC method openwallet to open the wallet first.
{
  "jsonrpc": "2.0",
  "method": "dumpprivkey",
  "params": [address]
  "id": 1
}

Parameter Description

  • address:To export the addresses of the private key, the address is required as a standard address.

Example

Request body:

{
  "jsonrpc": "2.0",
  "method": "dumpprivkey",
  "params": ["ASMGHQPzZqxFB2yKmzvfv82jtKVnjhp1ES"],
  "id": 1
}

Response body:

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "L3FdgAisCmV******************************9XM65cvjYQ1"
}

Response Description:

Returns the private key of the standard address.