Skip to main content

getIdentity RPC Method

Returns the identity pubkey for the current node.

Parameters

None

Code Sample

Response

Result Details

The result field will be a JSON object containing:
  • identity: <string>
    • The identity pubkey of the current node
    • Encoded as a base-58 string
    • Uniquely identifies the node in the network