getSupply

Returns information about the current supply.

Parameters:

object - optional - Configuration object

Returns:

object - The result will be a JSON object

Example:

// Request
curl https://solana.blockpi.network/v1/rpc/your-rpc-key
  POST -H "Content-Type: application/json" -d ' 
   {
     "jsonrpc": "2.0",
     "id": 1,
     "method": "getSupply",
     "params": [
       {
         "commitment": "finalized"
       }
     ]
   }
'

// Result

Last updated

Was this helpful?