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

# getLargestAccounts

> ラメンズ残高で最も大きい20のアカウントを返します（結果は最大2時間キャッシュされることがあります）。

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

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

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

<ParamField body="filter" type="string">
  アカウントタイプで結果をフィルタリング - すべての循環SOLアカウントまたは特別な非循環予備アカウントのみ。

  * `circulating`
  * `nonCirculating`
</ParamField>


## OpenAPI

````yaml ja/openapi/rpc-http/getLargestAccounts.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: >-
    Solanaブロックチェーン上で最大のSOL保有者を特定し監視するための資産分布分析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: getLargestAccounts
      description: >-
        Solanaブロックチェーン上の最大SOL保有者のランク付けされたリストを取得します。この資産分析APIは、最も多くのネイティブトークン残高を持つアカウントを識別することでSOL分布の洞察を提供します。SOL残高によってランク付けされた上位20アカウントを返し、流通供給（アクティブアカウント）と非流通供給（リザーブアカウント）の間でフィルタリングするオプションがあります。市場研究者、経済アナリスト、ホエールウォッチャー、資産集中研究、主要なSOL保有者とそのトークン経済および市場動向への潜在的影響を監視するアプリケーションに必須です。
      operationId: getLargestAccounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
              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:
                    - getLargestAccounts
                  example: getLargestAccounts
                  default: getLargestAccounts
                params:
                  type: array
                  description: アカウントをフィルタリングするためのオプション構成オブジェクト。
                  default: []
                  items:
                    type: object
                    properties:
                      commitment:
                        type: string
                        description: リクエストのコミットメントレベル。
                        enum:
                          - confirmed
                          - finalized
                        example: finalized
                      filter:
                        type: string
                        description: >-
                          アカウントタイプで結果をフィルタリング -
                          すべての流通しているSOLアカウントまたは特定の非流通リザーブアカウントのみ。
                        enum:
                          - circulating
                          - nonCirculating
                        example: circulating
      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:
                      context:
                        type: object
                        description: レスポンスのコンテキスト。
                        properties:
                          slot:
                            type: integer
                            description: データが取得されたスロット。
                            example: 54
                      value:
                        type: array
                        description: SOL残高でランク付けされた上位20の最大Solanaアカウント、最大から最小まで。
                        items:
                          type: object
                          properties:
                            lamports:
                              type: integer
                              description: このアカウントのSOL残高（1 SOL = 1,000,000,000 lamports）。
                              example: 999974
                            address:
                              type: string
                              description: この主要アカウントホルダーのユニークSolanaウォレットアドレス。
                              example: 99P8ZgtJYe1buSK8JXkvpLh8xPsCFuLYhz9hQFNw93WJ
        '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)で無料で取得できます。

````