curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getLargestAccounts",
"params": [
{
"filter": "circulating"
}
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": [
{
"lamports": 123,
"address": "<string>"
}
]
}
curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getLargestAccounts",
"params": [
{
"filter": "circulating"
}
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": [
{
"lamports": 123,
"address": "<string>"
}
]
}
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.
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.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.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.Largest accounts details
The response is of type object
.
Was this page helpful?