ContractConstructorOptionsWithPrivateState
Midnight.js API Reference v3.1.0
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:Contract.PrivateState<C>
The private state to run the circuit against.
Type Parameters
C
C extends Contract.Any