coinsupply - Hush 3.10.3 RPC

coinsupply <height>

Return coin supply information at a given block height. If no height is given, the current height is used.

Arguments:
1. "height"     (integer, optional) Block height

Result:
{
  "result" : "success",         (string) If the request was successful.
  "coin" : "HUSH3",               (string) The currency symbol of the coin for asset chains, otherwise HUSH3.
  "height" : 420,               (integer) The height of this coin supply data
  "supply" : "555.0",           (float) The transparent coin supply
  "zfunds" : "0.55555",           (float) The shielded coin supply (in zaddrs)
  "total" :  "555.55555",         (float) The total coin supply, i.e. sum of supply + zfunds
}

Examples:
> hush-cli coinsupply 420
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "coinsupply", "params": [420] }' -H 'content-type: text/plain;' http://127.0.0.1:18031/


Maintained by The Hush Developers

Welcome to the Hush full node RPC developer documentation!!! You finally made it.