Ledger queries (Java)
App Development3 posts342 views5 likesLast activity Jul 2021
PE
perbergmanOP
Jul 2021Hi!
I am sure this question came up before, but I could not find a definite answer.
Is it possible to get a more narrow ‘query’ result set than by contract type and party filters? Including (optionally) archived contracts?
Or do I need to create an off-chain indexing service?
Per
CO
cocreature
Jul 2021The Java bindings inherit the limitations from the gRPC Ledger API here meaning that you’re limited to template & party filters. If you need something more, either do it on the client side, use the JSON API or build your own off-chain indexing service.
PE
perbergman
Jul 2021Thanks!