Choices are associated with templates and are listed in daml-lf packages. So your path of research is similar to this one, except you might use the JSON API’s version of the package endpoints:
Stephen
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to get template name and choice name from Daml Contract | 1 | 232 | April 15, 2022 | |
| Query daml templates using the json api | 6 | 523 | May 6, 2022 | |
| Is there a way to get template names/identifers on the ledger via java APIs | 2 | 365 | June 17, 2023 | |
| Retrieve specific fields of contracts via API | 1 | 266 | September 10, 2021 | |
| Fetch by query in DAML templates | 2 | 238 | March 25, 2022 |