Package-level declarations
Types
One contract from the active contract set.
Caches the token from an access-token provider until shortly before it expires, so the provider is consulted once per token lifetime instead of once per request.
A client for the Canton Ledger API.
Configuration for connecting to a Canton participant's Ledger API.
A ledger failure decoded into a CantonError — either a gRPC failure (cause set) or an asynchronous command rejection reported via a completion event (no cause).
A batch of commands to submit atomically to the ledger.
Thrown when a Value does not have the shape a reader expects. Every Value.as… extension below throws it on a sum-case mismatch (the message names both the expected and the actual case), and ValueOuterClass.Record.requireField throws it for a missing field.
Concise constructors for Daml Values, mirroring the Swift SDK's Com_Daml_Ledger_Api_V2_Value extensions. Both implementations are held to the same golden vectors in testdata/values/.
One element of the ledger update stream. Every update carries the participant-local offset that totally orders it; persist the offset of the last update you processed and pass it as UpdateSubscription.beginExclusive to resume without gaps or duplicates.
Exponential backoff policy applied to retryable ledger errors (see CantonError.retryable). A server-suggested delay from RetryInfo takes precedence over the computed backoff when it is longer.
Which certificates to trust when connecting to a participant over TLS.
Functions
This value's contract id.
The constructor name of this Daml enum value.
This value as a Daml Numeric, parsed exactly.
The wrapped value for Some, or null for None.
This value's record, for reading fields with field or requireField.
This value as a Daml Time, from microseconds since the epoch in UTC. Negative timestamps floor-divide correctly.
The value of the field labelled label.