Hi,
Is there a way of somehow querying the Canton domain for the total number of ledger events that have gone through it?
Thanks in advance.
Hi,
Is there a way of somehow querying the Canton domain for the total number of ledger events that have gone through it?
Thanks in advance.
No. That’s impossible. The transactions are shipped over the domain as encrypted ciphertext for confidentiality reasons. The domain therefore cannot keep track of ledger events. Even just the number of transactions is not recoverable because the domain doesn’t distinguish between transactions and the many other messages that are required for synchronization.
You can however get some statistics via the metrics of the sequencer and the mediator:
They don’t count ledger events directly, but they give you some insight into what is happening. When you restart the domain, they’ll reset.