curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "getIdentity",
"params": []
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": {
"identity": "<string>"
}
}curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "getIdentity",
"params": []
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": {
"identity": "<string>"
}
}getIdentity methodgetIdentity method returns the identity public key of the current node.
This method provides the identity public key, which is a unique identifier for the node in the network. It is useful for distinguishing between different nodes in the network.
value — the identity public key of the current node.getIdentity is to distinguish between different nodes in the network. This can be useful for network monitoring tools or other applications that need to display or make use of this information.Was this page helpful?