Skip to main content

getIdentity RPC Method

Returns the identity pubkey for the current node

params

None

result

object The result field will be a JSON object with the following fields:

identity

The identity pubkey of the current node (as a base-58 encoded string)

cURL

curl https://us-seattle.openverse.network/api -s -X \
POST -H "Content-Type: application/json" -d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getIdentity"
}
'

Response

{
"jsonrpc": "2.0",
"result": {
"identity": "2r1F4iWqVcb8M1DbAjQuFpebkQHY9hcVU4WuW2DJBppN"
},
"id": 1
}