getIdentity | Solana

Solana getIdentity method

The Solana getIdentity method returns the identity public key of the current node.

This method provides the identity public key, which is a unique identifier for the node in the network. It is useful for distinguishing between different nodes in the network.

👍

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

This method does not require any parameters.

Response

  • value — the identity public key of the current node.

Use case

A practical use case for getIdentity is to distinguish between different nodes in the network. This can be useful for network monitoring tools or other applications that need to display or make use of this information.

Try the getIdentity RPC method yourself

Language
Click Try It! to start a request and see the response here!