Skip to main content

Midnight.js API Reference v1.0.0


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

Type Alias: FindDeployedContractOptionsExistingPrivateState<C>

FindDeployedContractOptionsExistingPrivateState<C> = FindDeployedContractOptionsBase<C> & object

findDeployedContract base configuration that includes an initial private state to store and the private state ID at which to store it. Only used if the intention is to overwrite the private state currently stored at the given private state ID.

Type declaration

privateStateId

readonly privateStateId: PrivateStateId

An identifier for the private state of the contract being found.

Type Parameters

C

C extends Contract