Skip to main content

Midnight.js API Reference v1.0.0


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

Type Alias: CallTxOptionsWithPrivateStateId<C, ICK>

CallTxOptionsWithPrivateStateId<C, ICK> = CallTxOptionsBase<C, ICK> & object

Call transaction options with the private state ID to use to store the new private state resulting from the circuit call. Since a private state should already be stored at the given private state ID, we don't need an 'initialPrivateState' like in DeployTxOptionsWithPrivateState.

Type declaration

privateStateId

readonly privateStateId: PrivateStateId

The identifier for the private state of the contract.

Type Parameters

C

C extends Contract

ICK

ICK extends ImpureCircuitId<C>