Is there a way to access the parties that have visibility of a contract in PQS?

Answer:

The _creates table in PQS has a witness field for every created contract.

Using an SQL WHERE EXISTS clause you can filter the template tables for visibility of a party provided they are a witness of that contract_id in the _creates table.

4 Likes