Skip to main content

ContractConstructorOptions

Midnight.js API Reference v2.0.2


Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / ContractConstructorOptions

Type Alias: ContractConstructorOptions<C>

ContractConstructorOptions<C> = ContractConstructorOptionsWithProviderDataDependencies<C> | ContractConstructorOptionsWithPrivateState<C>

Conditional type that optionally adds the inferred circuit argument types to the target of a circuit invocation.

Type Parameters​

C​

C extends Contract