On this page

latest contributor to this doc

Last Edit:

@gcharang

get_my_peer_id

The get_my_peer_id method returns your unique identifying Peer ID on the network.

Parameter* = requiredTypeDescription
(none)
Optional.

Parameter* = requiredTypeDescription
result*
string
The Peer ID of your node on the network

POST
get_my_peer_id
{
  "method": "get_my_peer_id",
  "userpass": "RPC_UserP@SSW0RD"
}

Response (Success)

SUCCESS
{
  "result": "12D3KooWCDzxghNykmc2eJ5Toqy4a8B4teRWhkzoxvgnxG8a3nSi"
}