13

Is there an RPC to get the total amount of tezos in existence at some particular block (or cycle begin/end)?

6

The current protocol does not keep track of a tally of all tez on the network. It would be a good idea to do so, as it permits computing proportional reward, it can serve as a canari against money printing bugs, and it can be used to refine the governance model.

Since the protocol doesn't keep track of it, there's no node RPC that will give you that information. However, some indexers, like tzscan, do keep track of that info, and they do expose RPCs

  • 1
    Curious as to why the current protocol doesn't keep track. Was this a design decision? – nurikabe Feb 8 at 16:40
  • Because there's not a strong need to keep track. It enables certain things, so it's nice to have, but not necessary. – Arthur B Feb 12 at 16:42
12

TzScan has a service for that, but only for the current value:

https://api1.tzscan.io/v1/supply

returns

{
  "dls":"76431859801260",
  "foundation":"76431859801260",
  "early_bakers":"3156502294100",
  "contributors":"608297709519372",
  "unfrozen_rewards":"19546676770764",
  "missing_revelation":0,
  "revelation_rewards":968500000,
  "burned_tez_revelation":0,
  "burned_tez_origination":"3546923000",
  "burned_tez_double_baking":"153472908345",
  "total_supply_ico":"764317931415992",
  "circulating_supply":"783708546041411"
}

What you are looking for is probably circulating_supply.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.