// yarn add @tatumio/tatum

import { TatumSDK, Solana, Network } from '@tatumio/tatum'

const tatum = await TatumSDK.init<Solana>({ network: Network.SOLANA })

const res = await tatum.rpc.getSupply()

await tatum.destroy() // Destroy Tatum SDK - needed for stopping background jobs


The getSupply method returns information about the current supply of lamports in the Solana network. It provides insights into the distribution of lamports, such as the total supply, the amount in circulation, and the amount that is not circulating. This can be useful for anyone interested in the macroeconomics of the Solana network or in tracking the circulation of lamports over time.


  • options (object, optional): A configuration object containing:

    • commitment(string, optional): Specifies the level of commitment to apply when fetching data.

    • excludeNonCirculatingAccountsList (bool, optional): If true, the returned array of non-circulating accounts will be empty.

Return Object

The result field will be a JSON object containing:

  • total: Total supply in lamports.

  • circulating: Circulating supply in lamports.

  • nonCirculating: Non-circulating supply in lamports.

  • nonCirculatingAccounts: An array of account addresses of non-circulating accounts, as strings. If excludeNonCirculatingAccountsList is enabled, the returned array will be empty.

JSON-RPC Request Example

  "jsonrpc": "2.0",
  "id": 1,
  "method": "getSupply"

JSON-RPC Response Example

  "jsonrpc": "2.0",
  "result": {
    "context": {
      "slot": 1114
    "value": {
      "circulating": 16000,
      "nonCirculating": 1000000,
      "nonCirculatingAccounts": [
      "total": 1016000
  "id": 1

Last updated

ยฉ Tatum Technology, LLC