getSupply - Solana

getSupply. Returns information about the total supply of tokens

getSupply - solana [Value: 822CU]
Returns information about the total supply of tokens, including circulating and non-circulating amounts
Use cases

Use cases

  • Retrieve the total supply of Solana tokens in circulation
  • Monitor changes in token supply for financial analysis
  • Analyze token supply data for market insights
Constraints

Constraints

  • Limited to current token supply figures
  • Depends on real-time blockchain data
  • API rate limits may restrict frequent queries
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl https://solana.drpc.org \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0", "id":1, "method":"getSupply"}'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "result": {
    "context": {
      "slot": 98123569
    },
    "value": {
      "total": 500000000000000000,
      "circulating": 400000000000000000,
      "nonCirculating": 100000000000000000,
      "nonCirculatingAccounts": [
        "A1B2C3D4E5F6G7H8I9J0",
        "J0I9H8G7F6E5D4C3B2A1"
      ]
    }
  },
  "id": 1
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersarray
array
commitmentstring
The level of commitment required for the query
  • finalized - The node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized
  • confirmed - The node will query the most recent block that has been voted on by supermajority of the cluster
  • processed - The node will query its most recent block. Note that the block may not be complete

Response

200
Contains information about the current state and supply details of SOL tokens.

Response params

object
idinteger
jsonrpcstring
resultstring
object
contextobject
Contains information about the current state of the program
object
slotinteger
The slot number used to retrieve the fee calculator.
apiVersionstring
The version of the Solana RPC API being used
valueobject
object
circulatinginteger
Total number of circulating SOL tokens.
nonCirculatinginteger
Total number of non-circulating SOL tokens.
nonCirculatingAccountsarray
List of public keys (addresses) of accounts holding non-circulating SOL tokens.
totalinteger
The overall supply of SOL tokens.