Skip to main content

CallOptionsWithPrivateState

For the complete documentation index, see llms.txt

Midnight.js API Reference v4.0.4


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

Type Alias: CallOptionsWithPrivateState<C, PCK>

CallOptionsWithPrivateState<C, PCK> = CallOptionsWithProviderDataDependencies<C, PCK> & object

Call options for contracts with private state.

Type Declaration​

initialPrivateState​

readonly initialPrivateState: Contract.PrivateState<C>

The private state to run the circuit against.

Type Parameters​

C​

C extends Contract.Any

PCK​

PCK extends Contract.ProvableCircuitId<C>