Json Ledger API query with field filtering
- David_MartinsOP 1
Hello,
I was attempting to execute a “/v2/state/active-contracts“ request but I’m not finding anything on the open api spec to filter by contract field, is this not possible?
- WallaceKelly
Agreed, the Ledger API does not support filtering by contract fields.
The Participant Query Store is a separate component that can be added which supports SQL-like queries.
- David_Martins 1
I’m assuming this is not a feature that is in consideration then, is that accurate?
- WallaceKelly
Yes, that is accurate. The PQS meets the needs of supporting these types of queries.