Skip to main content

getIdentity

Returns the identity pubkey for the current node

Common use cases
Validator monitoring dashboardDisplay which validator is serving RPC requests in monitoring tools. Correlate RPC performance metrics with specific validator identities when debugging issues or assessing node reliability across infrastructure.
RPC endpoint validationVerify RPC endpoint serves expected validator before making critical requests. Applications confirm connection to trusted validator nodes by checking identity against whitelist before submitting sensitive transactions.

Parameters

No parameters required.

Request

curl https://solana-mainnet.api.syndica.io/api-key/YOUR_API_KEY \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getIdentity"
}'
Network Selection

Replace mainnet with devnet in the URL to query devnet instead.

Response

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

Response Fields

identity (string)

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

getVersion
Returns Solana software version running on the node. Pair with getIdentity when building validator profiles to display both identity and version information.

getClusterNodes
Returns full list of cluster validators with contact info and identity keys. Use with getIdentity to verify current RPC node appears in cluster membership list.

getHealth
Returns health status of the RPC node. Combine with getIdentity when monitoring validator fleet to associate health checks with specific validator identities.

External Resources