Skip to content
CCPEDIAby Unity Nodes
App Development

Check Ledger Id of Sandbox Ledger

3 posts292 views3 likesLast activity May 2022

  1. kirksudduthOP

    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?

  2. cocreature 3

    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.

  3. kirksudduth

    Awesome, thank you @cocreature !