@digitalasset/daml-ledger
Version:
DAML Ledger API Node.js bindings
26 lines (25 loc) • 539 B
TypeScript
import { Duration } from "./Duration";
/**
* LedgerConfiguration contains parameters of the ledger instance that may be useful to clients.
*
* Example:
*
* ```
* {
* maxDeduplicationTime: {
* seconds: 120,
* nanoseconds: 0
* },
* }
* ```
*
* To express values in a more concise way, you can have a look at the {@link ValueHelpers}.
*
* @see Duration
*/
export interface LedgerConfiguration {
/**
* Maximum duration of the deduplication window
*/
maxDeduplicationTime: Duration;
}