Exports the private key of the specified address.
- Install the plugin RpcServer
- Call the RPC method
openwallet
to open the wallet first.
{
"jsonrpc": "2.0",
"method": "dumpprivkey",
"params": [address]
"id": 1
}
- address:To export the addresses of the private key, the address is required as a standard address.
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.