Quantité totale de xtz en existence
2 réponses
- votes
-
- 2019-02-08
Leprotocole actuelne garantitpas unetrace d'untotal detout Tez sur le réseau.Ce serait un Bonneidée pour lefaire,carellepermet de calculer une récompenseproportionnelle,ellepeutServir comme un canari contre desbugs d'impression de l'argent,et ilpeut être utilisépour affiner lemodèle degouvernance.
Puisque leprotocolene le restepas,iln'y apas denœud RPC qui vous donnera cetteinformation.Cependant,certainsindexeurs,comme Tzscan,gardent unetrace de cetteinformation,et ilsexposent les RPC
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
-
Curieux de savoirpourquoi leprotocole actuelne gardepas lapiste.Était-ce une décision de conception?Curious as to why the current protocol doesn't keep track. Was this a design decision?
- 1
- 2019-02-08
- nurikabe
-
Parce qu'iln'y apas defortebesoin degarder unepiste.Celapermet certaines choses,alors c'estbien d'avoir,maispasnécessaire.Because there's not a strong need to keep track. It enables certain things, so it's nice to have, but not necessary.
- 0
- 2019-02-12
- Arthur B
-
- 2019-02-08
TZSCAN a un servicepour cela,mais uniquementpour la valeur actuelle:
https://api1.tzscan.io/v1/supply
retourne
{ "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" }
Ce que vous cherchezestprobablement
circulating_supply
.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
.
Y a-t-il un RPCpour obtenir la quantitétotale de Tezosexistant à unbloc quelconque (ou à cycle de cycle/fin)?