I am building an ODS to keep a set of the smart contract for a faster query performance. To detect bugs / to check integrity, I’d like to have a reconciliation of the total count of each smart contract template for a certain period (maybe past 24hours) against the my ODS.
Is there any API call on Canton may help to get the count per template for a certain period? Streaming / subscription of smart contract creation one by one is not efficient. Moreover, the ODS is built with this mechanism. Using the same mechanism in the reconciliation may hide the bugs.
Thanks in advance for any insight.