setpubkey - Spacecoin RPC Docs


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:
> spacecoin-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:35593/


Learn more about spacecoin at spacecoin.network.
Docs generated by spacecoin v0.6.1.
Find this github repo at spacecoinSPACE/spacecoin-rpc-docs.

Spacecoin Logo



Auction











Lotto