GlobalStateOptions
Algorand TypeScript / index / GlobalStateOptions
GlobalStateOptions<
ValueType> =object
Defined in: state.ts:26
Options for declaring a global state field
Type Parameters
Section titled “Type Parameters”ValueType
Section titled “ValueType”ValueType
Properties
Section titled “Properties”initialValue?
Section titled “initialValue?”
optionalinitialValue:ValueType
Defined in: state.ts:36
An initial value to assign to this global state field when the application is created
optionalkey: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