Check Ledger Id of Sandbox Ledger

I’m upgrading a project to the latest version of Daml (from 1.18.0). I want to make sure that I’ve got the correct ledger id. Is there a simple way I can check that value?

You can use the LedgerIdentityService. I’d probably just call that via grpcurl. Note though that while it is still available, it is deprecated since SDK 2.0 and the ledger id is no longer required in requests so overall I’d recommend to not rely on the ledger id if possible.


Awesome, thank you @cocreature !