Skip to main content

Midnight.js API Reference v1.0.0


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

Type Alias: ContractStates<PS>

ContractStates<PS> = PublicContractStates & object

Object containing the publicly visible states of a contract and the private state of a contract.

Type declaration

privateState

readonly privateState: PS

The private state of a contract.

Type Parameters

PS

PS