PQS - How to get Interface Views + Exercised Events?

Hi, I am trying to run queries using PQS. I want to find contract payloads (from interfaces, not the templates) but also join these against ExercisedEvents (where the choices are defined on these interfaces). The idea is to see what choices have been exercised on these contracts but make it possible to not tie it to a specific implementation of the interfaces. I believe this is not working for me because I need to use the --pipeline-datasource=TransactionTreeStream option to get the ExercisedEvents but by doing so I lose all the interface views. This is due to the fact that the ledger API does not support interface views on the transaction tree stream. Please correct me if I am wrong here. Is there any possible solution to this problem? Thanks

1 Like