getSupply, RPC on carbium services: returns {context: {apiVersion, slot}, value: {circulating, nonCirculating, nonCirculatingAccounts: [string], total}}. It costs 200 credits, and a JSON-RPC batch refuses it.
| param | type | ||
|---|---|---|---|
| config | {commitment?, excludeNonCirculatingAccountsList?, minContextSlot?} | opt | answered from a cached copy that refreshes at most once every 600 s |
{"jsonrpc":"2.0","id":1,"method":"getSupply","params":[{"commitment":"finalized"}]}answer{context: {apiVersion, slot}, value: {circulating, nonCirculating, nonCirculatingAccounts: [string], total}}
refuses400 -32600 sent in a batch; 501 -32004 a config key or value not listed here