@digitalasset/daml-ledger
Version:
DAML Ledger API Node.js bindings
33 lines (32 loc) • 703 B
TypeScript
import { LedgerConfiguration } from "./LedgerConfiguration";
/**
* LedgerConfiguration contains parameters of the ledger instance that may be useful to clients.
*
* Example:
*
* ```
* {
* config: {
* maxTtl: {
* seconds: 5,
* nanoseconds: 0
* },
* minTtl: {
* seconds: 0,
* nanoseconds: 0
* }
* }
* }
* ```
*
* To express values in a more concise way, you can have a look at the {@link ValueHelpers}.
*
* @see LedgerConfiguration
* @see Timestamp
*/
export interface GetLedgerConfigurationResponse {
/**
* The latest ledger configuration.
*/
config: LedgerConfiguration;
}