setpubkey - Hush 3.10.0 RPC

setpubkey

Sets the -pubkey if the daemon was not started with it, if it was already set, it returns the pubkey, and its Raddress.

Arguments:
1. "pubkey"         (string) pubkey to set.

Result:
  {
    "pubkey" : "pubkey",     (string) The pubkey
    "ismine" : "true/false",     (bool)
    "R-address" : "R address",     (string) The pubkey
  }

Examples:
> hush-cli setpubkey 0420597468703c1c5c8465dd6d43acaae697df9df30bed21494d193412a1ea1987
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setpubkey", "params": [0420597468703c1c5c8465dd6d43acaae697df9df30bed21494d193412a1ea1987] }' -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.




Auction










Lotto