Skip to content

adamant-api / api / AdamantApiOptions

Interface: AdamantApiOptions

Defined in: src/api/index.ts:339

Extends

  • NodeManagerOptions

Properties

checkHealthAtStartup?

ts
optional checkHealthAtStartup?: boolean;

Defined in: src/helpers/healthCheck.ts:16

Inherited from

ts
NodeManagerOptions.checkHealthAtStartup

logger?

ts
optional logger?: CustomLogger;

Defined in: src/api/index.ts:345


logLevel?

ts
optional logLevel?: LogLevelInput;

Defined in: src/api/index.ts:350

Logging threshold. Only none disables logging. Unknown string values, including debug and trace, fall back to the most verbose log level.


maxRetries?

ts
optional maxRetries?: number;

Defined in: src/api/index.ts:342


minVersion?

ts
optional minVersion?: string;

Defined in: src/helpers/healthCheck.ts:18

Minimum supported ADAMANT Node version, compared inclusively.

Inherited from

ts
NodeManagerOptions.minVersion

nodes

ts
nodes: string[];

Defined in: src/api/index.ts:340

Overrides

ts
NodeManagerOptions.nodes

socket?

ts
optional socket?: WebSocketClient;

Defined in: src/helpers/healthCheck.ts:15

Inherited from

ts
NodeManagerOptions.socket

timeout?

ts
optional timeout?: number;

Defined in: src/api/index.ts:343

Overrides

ts
NodeManagerOptions.timeout

Released under the GPL-3.0 License.