Skip to content

GlobalStateOptions

Algorand TypeScript


Algorand TypeScript / index / GlobalStateOptions

GlobalStateOptions<ValueType> = object

Defined in: state.ts:26

Options for declaring a global state field

ValueType

optional initialValue: ValueType

Defined in: state.ts:36

An initial value to assign to this global state field when the application is created


optional key: bytes | string

Defined in: state.ts:32

The key to be used for this global state field.

Defaults to the name of the property this proxy is assigned to