Skip to main content

Midnight.js API Reference v1.0.0


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

Type Alias: DeployTxOptionsWithPrivateStateId<C>

DeployTxOptionsWithPrivateStateId<C> = DeployTxOptionsWithPrivateState<C> & object

Configuration for creating deploy transactions for contracts with private state. This configuration is used when a deployment transaction is created and an initial private state needs to be stored, as is the case in submitDeployTx.

Type declaration

privateStateId

readonly privateStateId: PrivateStateId

The identifier for the private state of the contract.

Type Parameters

C

C extends Contract