# Track number of Contract Executions

**URL:** <https://talk.jelurida.com/t/track-number-of-contract-executions/133>\
**Category:** Developers\
**Created:** [20 January 2021 14:47 UTC](https://talk.jelurida.com/t/track-number-of-contract-executions/133 "2021-01-20T14:47:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shugo](https://talk.jelurida.com/user_avatar/talk.jelurida.com/shugo/32/22_2.png) [@shugo](https://talk.jelurida.com/u/shugo)\
**Post date:** [20 January 2021 14:47 UTC](https://talk.jelurida.com/t/track-number-of-contract-executions/133/1 "2021-01-20T14:47:32Z")

</div>

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.

Cheers  
Shugo

---

<div class="post-metadata">

**Author:** ![lior.yaffe](https://talk.jelurida.com/letter_avatar_proxy/v4/letter/l/ecb155/32.png) [@lior.yaffe](https://talk.jelurida.com/u/lior.yaffe)\
**Post date:** [20 January 2021 15:18 UTC](https://talk.jelurida.com/t/track-number-of-contract-executions/133/2 "2021-01-20T15:18:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![shugo](https://talk.jelurida.com/user_avatar/talk.jelurida.com/shugo/32/22_2.png) [@shugo](https://talk.jelurida.com/u/shugo)\
**Post date:** [20 January 2021 15:30 UTC](https://talk.jelurida.com/t/track-number-of-contract-executions/133/3 "2021-01-20T15:30:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lior.yaffe](https://talk.jelurida.com/letter_avatar_proxy/v4/letter/l/ecb155/32.png) [@lior.yaffe](https://talk.jelurida.com/u/lior.yaffe)\
**Post date:** [20 January 2021 15:56 UTC](https://talk.jelurida.com/t/track-number-of-contract-executions/133/4 "2021-01-20T15:56:00Z")

</div>

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.
