coinsupply - Komodo 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" : "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:
> komodo-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:7771/


Docs generated by komodo v0.6.1. You can find this github repo at github.com/komodo-rpc/komodo-rpc.github.io.




Auction











Lotto