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

# getLargestAccounts

> Runs the Solana RPC `getLargestAccounts` method.



## OpenAPI

````yaml getlargestaccounts post /
openapi: 3.1.0
info:
  title: Solana RPC
  version: 1.0.0
  description: Solana RPC HTTP method reference.
servers:
  - url: https://rpc-mainnet.solanatracker.io
    description: Mainnet RPC endpoint
security: []
paths:
  /:
    post:
      summary: Run `getLargestAccounts`
      description: Runs the Solana RPC `getLargestAccounts` method.
      operationId: getlargestaccounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  allOf:
                    - type: string
                      description: The JSON-RPC protocol version.
                      enum:
                        - '2.0'
                      example: '2.0'
                      default: '2.0'
                id:
                  allOf:
                    - type: string
                      description: A unique identifier for the request.
                      example: '1'
                      default: '1'
                method:
                  allOf:
                    - type: string
                      description: The name of the RPC method to invoke.
                      enum:
                        - getLargestAccounts
                      example: getLargestAccounts
                      default: getLargestAccounts
                params:
                  allOf:
                    - type: array
                      description: Optional configuration object for filtering accounts.
                      default: []
                      items:
                        type: object
                        properties:
                          commitment:
                            type: string
                            description: The commitment level for the request.
                            enum:
                              - confirmed
                              - finalized
                            example: finalized
                          filter:
                            type: string
                            description: >-
                              Filter results by account type - either all
                              circulating SOL accounts or only special
                              non-circulating reserve accounts.
                            enum:
                              - circulating
                              - nonCirculating
                            example: circulating
              required:
                - jsonrpc
                - id
                - method
            examples:
              example:
                value:
                  jsonrpc: '2.0'
                  id: db16f277-1a22-41ff-9f85-f37e2cd77900
                  method: getLargestAccounts
                  params: []
      responses:
        '200':
          description: Successfully retrieved the largest accounts.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    allOf:
                      - type: string
                        description: The JSON-RPC protocol version.
                        enum:
                          - '2.0'
                        example: '2.0'
                  id:
                    allOf:
                      - type: string
                        description: Identifier matching the request.
                        example: '1'
                  result:
                    allOf:
                      - type: object
                        description: List of the largest accounts and their balances.
                        properties:
                          context:
                            type: object
                            description: Context of the response.
                            properties:
                              slot:
                                type: integer
                                description: The slot at which the data was fetched.
                                example: 54
                          value:
                            type: array
                            description: >-
                              Top 20 largest Solana accounts ranked by SOL
                              balance, from highest to lowest.
                            items:
                              type: object
                              properties:
                                lamports:
                                  type: integer
                                  description: >-
                                    SOL balance of this account in lamports (1
                                    SOL = 1,000,000,000 lamports).
                                  example: 999974
                                address:
                                  type: string
                                  description: >-
                                    Unique Solana wallet address of this major
                                    account holder.
                                  example: 99P8ZgtJYe1buSK8JXkvpLh8xPsCFuLYhz9hQFNw93WJ
              examples:
                example:
                  value:
                    jsonrpc: '2.0'
                    id: db16f277-1a22-41ff-9f85-f37e2cd77900
                    result:
                      context:
                        slot: 54
                      value:
                        - lamports: 999974
                          address: 99P8ZgtJYe1buSK8JXkvpLh8xPsCFuLYhz9hQFNw93WJ
      security:
        - ApiKeyQuery: []
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key

````