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

> 現在のノードのアイデンティティ公開鍵を返します。



## OpenAPI

````yaml ja/openapi/rpc-http/getIdentity.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: 現在接続しているSolana RPCエンドポイントのユニークなバリデータ公開鍵を取得するためのノード識別API。
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: メインネットRPCエンドポイント
  - url: https://devnet.helius-rpc.com
    description: 開発ネットRPCエンドポイント
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getIdentity
      description: >-
        接続しているSolanaノードのバリデータ識別公開鍵を取得します。このディスカバリーAPIは、このRPCエンドポイントをホストしている特定のバリデータノードのユニークな暗号識別子を返します。各Solanaバリデータは、コンセンサス参加、ブロック生成、投票署名におけるネットワーク識別子として役立つ独自のアイデンティティキーを持っています。特定のバリデータと通信していることを確認する必要があるアプリケーション、RPCエンドポイントを特定のバリデータにマッピングするツール、バリデータ特性を追跡するネットワークモニタリングシステム、および受信したブロックチェーンデータの発信元を特定する必要があるサービスにとって重要です。
      operationId: getIdentity
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  description: JSON-RPCプロトコルバージョン。
                  enum:
                    - '2.0'
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: リクエストのユニークな識別子。
                  example: '1'
                  default: '1'
                method:
                  type: string
                  description: 呼び出すRPCメソッドの名前。
                  enum:
                    - getIdentity
                  example: getIdentity
                  default: getIdentity
      responses:
        '200':
          description: ノードのアイデンティティを正常に取得しました。
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    description: JSON-RPCプロトコルバージョン。
                    enum:
                      - '2.0'
                    example: '2.0'
                  id:
                    type: string
                    description: リクエストと一致する識別子。
                    example: '1'
                  result:
                    type: object
                    description: 接続されたSolanaノードのバリデータ識別情報。
                    properties:
                      identity:
                        type: string
                        description: >-
                          このSolanaノードのユニークなバリデータ公開鍵（base-58エンコード）、ネットワーク識別子として機能します。
                        example: 2r1F4iWqVcb8M1DbAjQuFpebkQHY9hcVU4WuW2DJBppN
              examples:
                response:
                  value:
                    jsonrpc: '2.0'
                    id: '1'
                    result:
                      identity: 2r1F4iWqVcb8M1DbAjQuFpebkQHY9hcVU4WuW2DJBppN
        '400':
          description: 不正なリクエスト - 無効なリクエストパラメータまたは不正な形式のリクエスト。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: 無効なパラメータ
                id: '1'
        '401':
          description: 認証エラー - 無効または欠落したAPIキー。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: 認証エラー
                id: '1'
        '429':
          description: 要求が多すぎます - レート制限に達しました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: 要求が多すぎます
                id: '1'
        '500':
          description: 内部サーバーエラー - サーバーでエラーが発生しました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: 内部エラー
                id: '1'
        '503':
          description: サービス利用不可 - サービスは一時的に利用できません。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: サービス利用不可
                id: '1'
        '504':
          description: ゲートウェイタイムアウト - リクエストがタイムアウトしました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: ゲートウェイタイムアウト
                id: '1'
      security:
        - ApiKeyQuery: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          description: JSON-RPCプロトコルバージョン。
          enum:
            - '2.0'
          example: '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
              description: エラーコード。
              example: -32602
            message:
              type: string
              description: エラーメッセージ。
            data:
              type: object
              description: エラーに関する追加データ。
        id:
          type: string
          description: リクエストと一致する識別子。
          example: '1'
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        あなたのHelius
        APIキー。無料で[ダッシュボード](https://dashboard.helius.dev/api-keys)から取得できます。

````