Midnight.js API Reference v1.0.0
Midnight.js API Reference / @midnight-ntwrk/midnight-js-types / PrivateState
Type Alias: PrivateState<C>
PrivateState<
C
> =C
extendsContract
<infer PS> ?PS
:never
Extracts the private state of a contract.
Type Parameters
C
C
extends Contract
The contract for which we would like the private state.