I have created a middleware application in java to interact with DAML ledger deployed on Sandbox. So to generate the jwt token in the java application, how can I get the ledgerId?
Hi @lubnav, welcome to the forum!
To get the ledger id, you can use the getLedgerId
method on DamlLedgerClient
after you have connected. The Java quickstart guide includes an example of how you can setup the connection
3 Likes