Skip to content

GlobalState

Algorand TypeScript


Algorand TypeScript / index / GlobalState

GlobalState<ValueType> = object

Defined in: state.ts:44

Creates a new proxy for manipulating a global state field

Options for configuring this field

ValueType

The type of the value being stored - must be a serializable type

readonly hasValue: boolean

Defined in: state.ts:21

Gets a boolean value indicating if global state field currently has a value


value: ValueType

Defined in: state.ts:13

Get or set the value of this global state field

delete(): void

Defined in: state.ts:17

Delete the stored value of this global state field

void