getLargestAccounts - Solana

getLargestAccounts. Provides a list of the largest accounts by balance

getLargestAccounts - solana [Value: 3000CU]
Provides a list of the largest accounts by balance, enabling developers to identify major stakeholders
Use cases

Use cases

  • Identify the largest accounts on the Solana network
  • Monitor top accounts for market analysis
  • Analyze distribution of wealth for economic insights
Constraints

Constraints

  • Identify the largest accounts on the Solana network
  • Monitor top accounts for market analysis
  • Analyze distribution of wealth for economic insights
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl https://solana.drpc.org \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":1, "method":"getLargestAccounts"}'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "result": {
    "context": {
      "slot": 98123569
    },
    "value": [
      {
        "address": "3F5yMRtC5siNsmwv9nJziKkJkWyyf7mTwJTbEwbXpbSP",
        "lamports": 1000000000
      },
      {
        "address": "B6N8Jq2Wmgi2e5Jsy6kJhk56HtG7KM7XsdmtyhDDnVGv",
        "lamports": 950000000
      }
    ]
  },
  "id": 1
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersarray
array
filterstring
Filters results based on account type; currently supports "circulating" and "nonCirculating"
commitmentstring
The level of commitment required for the query
  • finalized - The node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized
  • confirmed - The node will query the most recent block that has been voted on by supermajority of the cluster
  • processed - The node will query its most recent block. Note that the block may not be complete

Response

200
Returns null if the requested account doesn't exist

Response params

object
idinteger
jsonrpcstring
resultstring
object
contextobject
Contains information about the current state of the program
object
slotinteger
The slot number used to retrieve the fee calculator.
apiVersionstring
The version of the Solana RPC API being used
valueobject
Contains account details
object
lamportsint64
The number of lamports in the account, represented as a 64-bit unsigned integer.
addressstring
The account's address, encoded in base-58.