1

I know $ cleos get currency stats eosio.token EOS reports the current supply in the blockchain, but how can I get the supply through time?

2

I think you can listen to the block with the issue event of eosio.token, only the issue action can update the supply.

| improve this answer | |
  • But would this capture decrease of supply from mechanisms such as RAM fees which burn EOS? – confused00 Jul 16 '18 at 13:18
  • 1
    ram fee doesn't burn now, it maybe used by the community, there's no method to burn the token in eos.token – Jimmy Guo Jul 17 '18 at 3:15
  • you're right, it seems like it transfers to N(eosio.ramfee) when selling ram, so to calculate circulating supply maybe i can deduct get_balance("eosio.ramfee") + get_balance("eosio.stake") + get_balance("eosio.ram") – confused00 Jul 17 '18 at 9:34

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.