Skip to content

LocalStateMap

LocalStateMap<KeyType, ValueType>(options): (account, key) => LocalStateValue<ValueType>

A mapping of one type to another in local state

Type parameters

• KeyType

• ValueType

Parameters

• options

• options.allowPotentialCollisions?: boolean

• options.maxKeys: number

• options.prefix?: string

Returns

Function

Parameters

• account: Address

• key: KeyType

Returns

LocalStateValue<ValueType>

Source

types/global.d.ts:654