Skip to content

LocalState

Algorand TypeScript


Algorand TypeScript / index / LocalState

LocalState<ValueType> = (account) => LocalStateForAccount<ValueType>

Defined in: state.ts:92

Creates a new proxy for manipulating a local state field

ValueType

Gets the LocalState proxy for a specific account

Account

The account to read or write state for. This account must be opted into the contract

LocalStateForAccount<ValueType>

Options for configuring this field