DeployTxOptionsWithPrivateStateId
Midnight.js API Reference v2.0.2
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
readonlyprivateStateId:PrivateStateId
The identifier for the private state of the contract.
Type Parameters
C
C extends Contract