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

# getIdentity

> getIdentity mengembalikan kunci publik identitas dari node Solana yang melayani permintaan RPC Anda — berguna untuk memantau validator dan men-debug node mana yang merespons.



## OpenAPI

````yaml id/openapi/rpc-http/getIdentity.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: >-
    API identifikasi node untuk mengambil kunci publik validator unik dari titik
    akhir RPC Solana yang saat ini terhubung dengan Anda.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: Titik akhir RPC Mainnet
  - url: https://devnet.helius-rpc.com
    description: Titik akhir RPC Devnet
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getIdentity
      description: >
        Ambil kunci publik identitas validator dari node Solana yang terhubung
        dengan Anda.

        API penemuan ini mengembalikan pengidentifikasi kriptografis unik dari
        node validator tertentu

        yang menghosting titik akhir RPC ini. Setiap validator Solana memiliki
        pasangan kunci identitas berbeda

        yang berfungsi sebagai pengidentifikasi jaringannya dalam partisipasi
        konsensus, produksi blok,

        dan penandatanganan suara. API ini penting bagi aplikasi yang perlu
        memverifikasi validator tertentu

        yang berkomunikasi dengannya, alat yang memetakan titik akhir RPC ke
        validator tertentu,

        sistem pemantauan jaringan yang melacak karakteristik validator, serta
        layanan yang perlu

        mengidentifikasi sumber data blockchain yang diterimanya.
      operationId: getIdentity
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  description: Versi protokol JSON-RPC.
                  enum:
                    - '2.0'
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: Pengidentifikasi unik untuk permintaan.
                  example: '1'
                  default: '1'
                method:
                  type: string
                  description: Nama metode RPC yang akan dipanggil.
                  enum:
                    - getIdentity
                  example: getIdentity
                  default: getIdentity
      responses:
        '200':
          description: Identitas node berhasil diambil.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    description: Versi protokol JSON-RPC.
                    enum:
                      - '2.0'
                    example: '2.0'
                  id:
                    type: string
                    description: Pengidentifikasi yang sesuai dengan permintaan.
                    example: '1'
                  result:
                    type: object
                    description: >-
                      Informasi identitas validator untuk node Solana yang
                      terhubung.
                    properties:
                      identity:
                        type: string
                        description: >-
                          Kunci publik validator unik (dikodekan dalam base-58)
                          dari node Solana ini, yang berfungsi sebagai
                          pengidentifikasi jaringannya.
                        example: 2r1F4iWqVcb8M1DbAjQuFpebkQHY9hcVU4WuW2DJBppN
              examples:
                response:
                  value:
                    jsonrpc: '2.0'
                    id: '1'
                    result:
                      identity: 2r1F4iWqVcb8M1DbAjQuFpebkQHY9hcVU4WuW2DJBppN
        '400':
          description: >-
            Permintaan Buruk - Parameter permintaan tidak valid atau format
            permintaan salah.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: Parameter tidak valid
                id: '1'
        '401':
          description: Tidak Diotorisasi - Kunci API tidak valid atau tidak disertakan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: Tidak diotorisasi
                id: '1'
        '429':
          description: Terlalu Banyak Permintaan - Batas laju terlampaui.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: Terlalu banyak permintaan
                id: '1'
        '500':
          description: Kesalahan Server Internal - Terjadi kesalahan pada server.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: Kesalahan internal
                id: '1'
        '503':
          description: Layanan Tidak Tersedia - Layanan untuk sementara tidak tersedia.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: Layanan tidak tersedia
                id: '1'
        '504':
          description: Waktu Tunggu Gateway Habis - Waktu tunggu permintaan telah habis.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: Waktu tunggu gateway habis
                id: '1'
      security:
        - ApiKeyQuery: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          description: Versi protokol JSON-RPC.
          enum:
            - '2.0'
          example: '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
              description: Kode kesalahan.
              example: -32602
            message:
              type: string
              description: Pesan kesalahan.
            data:
              type: object
              description: Data tambahan tentang kesalahan tersebut.
        id:
          type: string
          description: Pengidentifikasi yang sesuai dengan permintaan.
          example: '1'
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        Kunci API Helius Anda. Anda bisa mendapatkannya secara gratis di
        [dasbor](https://dashboard.helius.dev/api-keys).

````