Track number of Contract Executions

Hi Devs

Is it possible to extract the number of times that a certain contract has been executed (e.g. via API?)
I guess a major issue would be if a new contract version is uploaded, or even the ContractRunner Config has been changed?

What alternatives are there? Count the number of a certain TX that a Contract executes?

Thanks for your help.


This information is available when you connect to the contract runner node from the contracts page. You can also use the getSupportedContracts API to view the raw data

But isn't that information being reset in the above described cases?

You can persist this information client side, currently the contract runner only saves it in memory and resets it in case of a restart. Updating the contract without restarting the runner will not reset these counters.