Skip to content

LocalStateForAccount

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / index / LocalStateForAccount

Type Alias: LocalStateForAccount<ValueType>

LocalStateForAccount<ValueType>: object

Defined in: packages/algo-ts/src/state.ts:51

A proxy for manipulating a local state field for a single account

Type Parameters

ValueType

Type declaration

hasValue

readonly hasValue: boolean

Gets a boolean value indicating if local state field for a single account currently has a value

value

value: ValueType

Get or set the value of this local state field for a single account

delete()

Delete the stored value of this local state field for a single account

Returns

void