Why is the non-circulating amount greater than zero when the Solana non-circulating account list is empty?

When fetching $SOL supply, you may see a value for nonCirculating while nonCirculatingAccounts returns []. Check the request parameters first. Solana’s getSupply supports excludeNonCirculatingAccountsList. When enabled, the response still reports the non-circulating supply, but by design returns an empty array for the corresponding account list.

【One response, two kinds of information】

total, circulating, and nonCirculating are supply fields, all measured in lamports. nonCirculatingAccounts is a list of account addresses classified as non-circulating supply. For a total supply panel, you can omit this list to reduce the response size. For account composition analysis, you need the interface to return the details and record the response slot at the time.

If the interface returns a positive value and the request has the option to exclude the account list enabled, the panel can still display that non-circulating amount. In this case, the account count should remain empty or be marked as “not requested.” Writing the array length directly to the database would incorrectly record missing account details as zero accounts.

【When creating time series, preserve the request parameters】

Each collection can record the commitment, the response’s context.slot, and whether the account list was excluded. Then, if the list length later drops from dozens of entries to zero, you can first check whether the collection parameters changed before deciding whether to investigate an on-chain change. If you need to retrieve the details afterward, you should also compare the slots in the old and new responses and save the two observations separately.

This rule also applies to readers of supply charts. If a chart shows “number of non-circulating addresses: zero,” first check whether the data source requested the address list before using that record to assess the supply composition.

See the official Solana getSupply documentation for the original source: https://solana.com/docs/rpc/http/getsupply