Skip to main content

@midnight-ntwrk/midnight-js-http-client-proof-provider v0.2.5 • API


Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-http-client-proof-provider / DEFAULT_CONFIG

Variable: DEFAULT_CONFIG

const DEFAULT_CONFIG: Object

The default configuration for the proof server client.

Type declaration

timeout

timeout: number = 300000

The default timeout for prove requests.

zkConfig

zkConfig: undefined = undefined

The default ZK configuration to use. It is overwritten with a proper ZK configuration only if a call transaction is being proven.