On this page

latest contributor to this doc

Last Edit:

@gcharang

Get Public Key

API-v2get_public_key

The get_public_key method returns the compressed secp256k1 pubkey corresponding to the user's seed phrase.

Parameter* = requiredTypeDescription
*None*
*N/A*
Optional. *This method has no parameters.*

Parameter* = requiredTypeDescription
public_key*
string
User's pubkey

Get Public Key

POST
get_public_key
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "get_public_key",
  "params": {},
  "id": 0
}

{
  "mmrpc": "2.0",
  "result": {
    "public_key": "0366d28a7926fb20287132692c4cef7bc7e00e76da064948676f8549c0ed7114d3"
  },
  "id": 0
}