Skip to main content

ChargedState

For the complete documentation index, see llms.txt

@midnight-ntwrk/onchain-runtime v3.0.0


@midnight-ntwrk/onchain-runtime / ChargedState

Class: ChargedState

Represents a StateValue with storage annotations.

These track the state usage that has been charged for so far.

Constructors​

new ChargedState()​

new ChargedState(state): ChargedState

Parameters​

state​

StateValue

Returns​

ChargedState

Properties​

state​

readonly state: StateValue;

Methods​

toString()​

toString(compact?): string

Parameters​

compact?​

boolean

Returns​

string