getLargestAccounts | Solana

📘

Not available on the Developer plan

The method is available only on the Growth, Business, and Enterprise plans.

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.

👍

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

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.

Try the getLargestAccounts RPC method yourself

Language
Click Try It! to start a request and see the response here!