Solana Tracker
Solana RPC/Methods

getIdentity RPC Method

Description

Returns the identity pubkey for the current node.

Parameters

None

Returns

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

  • identity - The public key identity of the current node as base-58 encoded string

Code Examples

curl "https://rpc-mainnet.solanatracker.io/?api_key=YOUR_API_KEY_HERE" \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":1, "method":"getIdentity"}'

On this page