On this page

latest contributor to this doc

Last Edit:

@smk762

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).

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

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

This method is deprecated in favor of the v2.0 get_private_keys method. The new method offers several advantages:

  • No requirement to activate coins prior to private key export
  • Support for Hierarchical Deterministic (HD) derivation paths with configurable account and address indices
  • Batch export capabilities for multiple coins
  • Enhanced protocol support including ZHTLC coins with viewing keys

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