Measure the share of a Solana mint held in its largest accounts

A concentration report needs a precise definition of what it counts. The RPC ranks token accounts for one mint, and several of those accounts can share an authority.

Match the ranking to a supply reading

Replace the placeholder with the mint address and request the largest accounts. Sum the integer amount strings from the returned entries, up to twenty accounts. Query getTokenSupply for the same mint and commitment and use its raw amount string as the denominator.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getTokenLargestAccounts",
  "params": [
    "MINT_PUBLIC_KEY",
    {
      "commitment": "finalized"
    }
  ]
}

Report the denominator and the observation slots

A top-account total of 400000 base units out of a supply of 1000000 gives 40 percent. The mint’s decimal scale cancels in this ratio. A zero supply makes the percentage undefined. Record both context slots because the independent reads can cover different states.

An exchange custody account may represent many customers. One authority may also control multiple smaller accounts outside the ranking. Label the reported percentage as concentration by token account.

Documentation