`ledgerId` best practices

I’m currently using the Java API to submit commands to the ledger, and there are many helper classes (under package com.daml.ledger.javaapi.data.*) that require a ledgerId parameter.

But I was under the impression that the ledger identity service had been deprecated with the advent of canton.

Setting these to null results in an exception also.

What is the recommended way of using the java bindings with regard to ledgerIds?

1 Like

You can set it to an empty string.

1 Like