coinsupply - Spacecoin RPC Docs


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" : "KMD",               (string) The currency symbol of the coin for asset chains, otherwise KMD.
  "height" : 420,               (integer) The height of this coin supply data
  "supply" : "777.0",           (float) The transparent coin supply
  "zfunds" : "0.777",           (float) The shielded coin supply (in zaddrs)
  "sprout" : "0.077",           (float) The sprout coin supply (in zcaddrs)
  "total" :  "777.777",         (float) The total coin supply, i.e. sum of supply + zfunds
}

Examples:
> spacecoin-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:35593/


Learn more about spacecoin at spacecoin.network.
Docs generated by spacecoin v0.6.1.
Find this github repo at spacecoinSPACE/spacecoin-rpc-docs.

Spacecoin Logo



Auction











Lotto