show_priv_key

The show_priv_key method returns the private key of the specified coin in a format compatible with coin wallets. The output can be used for the importprivkey method (UTXO coins) or as a private key for MyEtherWallet (ETH/ERC20).

Arguments

StructureTypeDescription
coinstringthe name of the coin of the private key to show

Response

StructureTypeDescription
coinstringthe name of the coin
priv_keystringthe private key of the coin

📌 Examples

Command

POST show_priv_key
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "show_priv_key",
  "coin": "HELLOWORLD"
}
Show Response

Response (UTXO WIF)

{
  "coin": "HELLOWORLD",
  "priv_key": "UvCjJf4dKSs2vFGVtCnUTAhR5FTZGdg43DDRa9s7s5DV1sSDX14g"
}

Response (0x-prefixed ETH private key)

{
  "coin": "ETH",
  "priv_key": "0xb8c774f071de08c7fd8f62b97f1a5726f6ce9f1bcf141b70b86689254ed6714e"
}