Skip to main content

CallTxOptionsWithPrivateStateId

Midnight.js API Reference v4.0.2


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

Type Alias: CallTxOptionsWithPrivateStateId<C, PCK>

CallTxOptionsWithPrivateStateId<C, PCK> = CallTxOptionsBase<C, PCK> & 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.Any

PCK

PCK extends Contract.ProvableCircuitId<C>