> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getIdentity | Solana

> The Solana getIdentity method returns the identity public key of the current node. Available on Solana via Chainstack JSON-RPC nodes.

# 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.

## 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.


## OpenAPI

````yaml openapi/solana_node_api/getIdentity.json POST /9de47db917d4f69168e3fed02217d15b
openapi: 3.0.0
info:
  title: getIdentity example
  version: 1.0.0
  description: This is an API example for Solana's getIdentity.
servers:
  - url: https://nd-326-444-187.p2pify.com
security: []
paths:
  /9de47db917d4f69168e3fed02217d15b:
    post:
      tags:
        - query
      summary: getIdentity
      operationId: getIdentity
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: getIdentity
                params:
                  type: array
                  default: []
      responses:
        '200':
          description: Identity details
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
                    properties:
                      identity:
                        type: string

````