Get Public Key

get_public_keyAPI-v2get_public_key

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

Request Parameters

Parameter Type Required Description
None N/A This method has no parameters.

Response Parameters

Parameter Type Required Description
public_key string User's pubkey

📌 Examples

Command

POST Get Public Key get_public_key
{
  "userpass": "RPC_UserP@SSW0RD",
  "mmrpc": "2.0",
  "method": "get_public_key",
  "params": {},
  "id": 0
}
Show Get Public Key Response

Response (success)

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