getIdentity - Solana
getIdentity. Retrieves the public key identity of the current node
getIdentity - solana [Value: 5CU]
Retrieves the public key identity of the current node, enabling to verify node authenticity and establish secure connections

Use cases
- Retrieve user identity information for authentication
- Verify identity for security and compliance checks
- Use identity data for personalized user experiences

Constraints
- Privacy concerns related to user identity information
- API call limits may restrict identity retrieval frequency
- Potential data accuracy issues from user-provided information
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request POST \
--url https://solana.drpc.org \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "getIdentity"
}
'
Response
200
{
"jsonrpc": "2.0",
"result": {
"identity": "6z9e8hGmZz5hK7PzL1p8h7shKz5h8L2L1h9e8GmZz5hK7PzL1p8h7shKz5h8L2L1"
},
"id": 1
}
Request params
idinteger
jsonrpcstring
methodstring
Response
200
Response params
object
idinteger
jsonrpcstring
resultobject
object
identitystring
The public key identity of the current node, encoded as a base-58 string.