getSupply | Solana

Solana getSupply method

The Solana getSupply method returns information about the current supply of lamports in the network.

This method provides detailed information about the current supply, including the total supply, the circulating supply, and the non-circulating supply. It is useful for understanding the current state of the network's economy.

๐Ÿ‘

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • 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.

Response

  • value โ€” the current supply information:
    • total โ€” the total supply of lamports.
    • circulating โ€” the circulating supply of lamports.
    • nonCirculating โ€” the non-circulating supply of lamports.
    • nonCirculatingAccounts โ€” the accounts that hold the non-circulating supply.

Use case

A practical use case for getSupply is to understand the current state of the network's economy. This can be useful for wallets or other applications that need to display or make use of this information.

Try the getSupply RPC method yourself

Language
Click Try It! to start a request and see the response here!