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

# getVoteAccounts

> 現在のバンクのすべての投票アカウントのアカウント情報と関連するステークを返します。

## リクエストパラメータ

<ParamField body="commitment" type="string">
  リクエストのコミットメントレベル。

  * `confirmed`
  * `finalized`
  * `processed`
</ParamField>

<ParamField body="votePubkey" type="string">
  結果をフィルタリングする特定のバリデータ投票アカウントアドレス（base-58エンコード）。
</ParamField>

<ParamField body="keepUnstakedDelinquents" type="boolean">
  遅れているがステークが委任されていないバリデータを含める。
</ParamField>

<ParamField body="delinquentSlotDistance" type="number">
  バリデータを不良またはパフォーマンス不足と見なすスロットのカスタム閾値。
</ParamField>


## OpenAPI

````yaml ja/openapi/rpc-http/getVoteAccounts.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: >-
    ネットワーク参加者の追跡、ステーキング活動、ブロックチェーンエコシステム全体のコンセンサス参加を監視する、包括的なSolanaバリデータモニタリングAPI。
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: Mainnet RPCエンドポイント
  - url: https://devnet.helius-rpc.com
    description: Devnet RPCエンドポイント
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getVoteAccounts
      description: >
        Solanaバリデータおよびそのネットワークコンセンサスへの参加に関する詳細情報を取得します。

        この強力なAPIは、IDアドレス、ステーキング金額、コミッション率、投票活動、パフォーマンスステータスを含む包括的なバリデータメトリクスを提供します。ステーキングアプリケーション、バリデータ選択ツール、ネットワーク監視ダッシュボード、分散化分析に不可欠です。

        バリデータを現在の参加者（アクティブな参加者）または滞納中（パフォーマンスが低下している）として分類し、Solanaブロックチェーン上のステーキング戦略と報酬を最適化しようとしている委任者に重要な洞察を提供します。
      operationId: getVoteAccounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: JSON-RPCプロトコルバージョン。
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: リクエストのユニークな識別子。
                  example: '1'
                  default: '1'
                method:
                  type: string
                  enum:
                    - getVoteAccounts
                  description: 呼び出すRPCメソッドの名前。
                  example: getVoteAccounts
                  default: getVoteAccounts
                params:
                  type: array
                  description: 投票アカウントをフィルタリングするためのオプションの設定オブジェクト。
                  items:
                    type: object
                    properties:
                      commitment:
                        type: string
                        description: リクエストのコミットメントレベル。
                        enum:
                          - confirmed
                          - finalized
                          - processed
                        example: finalized
                      votePubkey:
                        type: string
                        description: 結果をフィルタリングする特定のバリデータ投票アカウントアドレス（base-58エンコード）。
                        example: 3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw
                      keepUnstakedDelinquents:
                        type: boolean
                        description: 滞納しているが、ステーキングされていないバリデータを含める。
                        example: true
                      delinquentSlotDistance:
                        type: integer
                        description: バリデータを滞納またはパフォーマンスが低下しているとマークするためのカスタムスロットしきい値。
                        example: 128
      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: 現在の投票アカウントと滞納中の投票アカウントのリスト。
                    properties:
                      current:
                        type: array
                        description: Solanaネットワークコンセンサスに適切に参加しているアクティブなバリデータ。
                        items:
                          type: object
                          properties:
                            votePubkey:
                              type: string
                              description: このバリデータに関連付けられたユニークなSolana投票アカウントアドレス。
                              example: 3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw
                            nodePubkey:
                              type: string
                              description: 投票アカウントを管理するバリデータIDアドレス。
                              example: B97CCUW3AEZFGy6uUg6zUdnNYvnVq5VG8PUtb2HayTDD
                            activatedStake:
                              type: integer
                              description: このバリデータに委任された合計SOL（ラメンポート）で、彼らのコンセンサス重みを決定します。
                              example: 42
                            epochVoteAccount:
                              type: boolean
                              description: このバリデータが現在のエポックで報酬を受け取る資格があるかどうか。
                              example: true
                            commission:
                              type: integer
                              description: ステーキング報酬からバリデータによって取得されるコミッションのパーセンテージ（0-100）。
                              example: 0
                            lastVote:
                              type: integer
                              description: このバリデータが投票した最新のSolanaスロットで、活動を示します。
                              example: 147
                            epochCredits:
                              type: array
                              description: 最大5エポックの獲得したクレジットの最新履歴。
                              items:
                                type: array
                                description: クレジットの履歴[エポック、クレジット、前回のクレジット]。
                                items:
                                  type: integer
                                example:
                                  - 1
                                  - 64
                                  - 0
                            rootSlot:
                              type: integer
                              description: この投票アカウントの現在のルートスロット。
                              example: 42
                      delinquent:
                        type: array
                        description: コンセンサス参加が遅れているパフォーマンスが不十分なバリデータ。
                        items:
                          type: object
                          properties:
                            votePubkey:
                              type: string
                              description: 投票アカウントアドレス。
                              example: 3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw
                            nodePubkey:
                              type: string
                              description: バリデータID。
                              example: B97CCUW3AEZFGy6uUg6zUdnNYvnVq5VG8PUtb2HayTDD
                            activatedStake:
                              type: integer
                              description: この投票アカウントに委任されたステーク（ラメンポート）。
                              example: 0
                            epochVoteAccount:
                              type: boolean
                              description: このエポックで投票アカウントがステークされているかどうか。
                              example: false
                            commission:
                              type: integer
                              description: 報酬支払いに対して投票アカウントに支払われるべきパーセンテージ（0-100）。
                              example: 0
                            lastVote:
                              type: integer
                              description: この投票アカウントによって投票された最新のスロット。
                              example: 147
                            epochCredits:
                              type: array
                              description: 最大5エポックの獲得したクレジットの最新履歴。
                              items:
                                type: array
                                description: クレジット履歴[エポック、クレジット、前回のクレジット]。
                                items:
                                  type: integer
                                example:
                                  - 1
                                  - 64
                                  - 0
                            rootSlot:
                              type: integer
                              description: この投票アカウントの現在のルートスロット。
                              example: 42
              examples:
                default:
                  value:
                    jsonrpc: '2.0'
                    id: '1'
                    result:
                      current:
                        - votePubkey: 3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw
                          nodePubkey: B97CCUW3AEZFGy6uUg6zUdnNYvnVq5VG8PUtb2HayTDD
                          activatedStake: 42
                          epochVoteAccount: true
                          commission: 0
                          lastVote: 147
                          epochCredits:
                            - - 1
                              - 64
                              - 0
                            - - 2
                              - 192
                              - 64
                          rootSlot: 42
                      delinquent: []
        '400':
          description: Bad Request - 無効なリクエストパラメータまたは不正なリクエスト。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: Invalid params
                id: '1'
        '401':
          description: Unauthorized - 無効または欠落しているAPIキー。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: Unauthorized
                id: '1'
        '429':
          description: Too Many Requests - レート制限を超えました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: Too many requests
                id: '1'
        '500':
          description: Internal Server Error - サーバーでエラーが発生しました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: Internal error
                id: '1'
        '503':
          description: Service Unavailable - サービスが一時的に利用できません。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: Service unavailable
                id: '1'
        '504':
          description: Gateway Timeout - リクエストがタイムアウトしました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: Gateway timeout
                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)で取得できます。

````