Ledger queries (Java)

Hi!

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

1 Like

The 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.

3 Likes

Thanks!

1 Like