setpubkey - Komodo 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:
> komodo-cli setpubkey 02f7597468703c1c5c8465dd6d43acaae697df9df30bed21494d193412a1ea193e
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setpubkey", "params": [02f7597468703c1c5c8465dd6d43acaae697df9df30bed21494d193412a1ea193e] }' -H 'content-type: text/plain;' http://127.0.0.1:7771/


Docs generated by komodo v0.6.1. You can find this github repo at github.com/komodo-rpc/komodo-rpc.github.io.




Auction











Lotto