convertpassphrase - Hush 3.10.3 RPC

convertpassphrase "agamapassphrase"

Converts Agama passphrase to a private key and WIF (for import with importprivkey).

Arguments:
1. "agamapassphrase"   (string, required) Agama passphrase

Result:
"agamapassphrase": "agamapassphrase",   (string) Agama passphrase you entered
"address": "hushaddress",             (string) Address corresponding to your passphrase
"pubkey": "publickeyhex",               (string) The hex value of the raw public key
"privkey": "privatekeyhex",             (string) The hex value of the raw private key
"wif": "wif"                            (string) The private key in WIF format to use with 'importprivkey'

Examples:
> hush-cli convertpassphrase "agamapassphrase"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "convertpassphrase", "params": ["agamapassphrase"] }' -H 'content-type: text/plain;' http://127.0.0.1:18031/


Maintained by The Hush Developers

Welcome to the Hush full node RPC developer documentation!!! You finally made it.