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

# getLargestAccounts | Solana

> The Solana getLargestAccounts method returns information about the largest accounts on the network. Use it on Solana via Chainstack.

<Note>
  The method is available only on [Dedicated Nodes](/docs/dedicated-node).
</Note>

The Solana `getLargestAccounts` method returns information about the largest accounts on the network.

This method provides a list of the largest accounts by balance, including their addresses and balances in lamports. It can be filtered to show only circulating or non-circulating accounts, making it useful for analyzing token distribution and identifying major token holders.

## Parameters

* `commitment` — (optional) the level of commitment desired:
  * `processed` — the node has processed the block and the block may be on a fork.
  * `confirmed` — the block is confirmed by the cluster as not being on a fork.
  * `finalized` — the block is finalized by the cluster.
* `filter` — (optional) filter results by account type:
  * `circulating` — only include accounts that are part of circulating supply.
  * `nonCirculating` — only include accounts that are not part of circulating supply.

## Response

* `context` — the context information:
  * `slot` — the slot the results are from.
* `value` — an array of account information:
  * `address` — the account's public key as a base-58 encoded string.
  * `lamports` — the number of lamports in the account.

## Use case

A practical use case for `getLargestAccounts` is to analyze token distribution and identify major token holders on the network. This can be useful for market analysis, monitoring whale accounts, or understanding token concentration.


## OpenAPI

````yaml openapi/solana_node_api/getLargestAccounts.json POST /9de47db917d4f69168e3fed02217d15b
openapi: 3.0.0
info:
  title: getLargestAccounts example
  version: 1.0.0
  description: This is an API example for Solana's getLargestAccounts.
servers:
  - url: https://nd-326-444-187.p2pify.com
security: []
paths:
  /9de47db917d4f69168e3fed02217d15b:
    post:
      tags:
        - query
      summary: getLargestAccounts
      operationId: getLargestAccounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: getLargestAccounts
                params:
                  type: array
                  items:
                    type: object
                    properties:
                      filter:
                        type: string
                        default: circulating
      responses:
        '200':
          description: Largest accounts details
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: array
                    items:
                      type: object
                      properties:
                        lamports:
                          type: integer
                        address:
                          type: string

````