ContractConstructorOptionsWithPrivateState
Midnight.js API Reference v2.0.2
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / ContractConstructorOptionsWithPrivateState
Type Alias: ContractConstructorOptionsWithPrivateState<C>
ContractConstructorOptionsWithPrivateState<
C> =ContractConstructorOptionsWithProviderDataDependencies<C> &object
Conditional type that optionally adds the inferred circuit argument types to the target of a circuit invocation.
Type declaration​
initialPrivateState​
readonlyinitialPrivateState:PrivateState<C>
The private state to run the circuit against.
Type Parameters​
C​
C extends Contract