Box
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / index / Box
Function: Box()
Box<
TValue
>(options
):Box
<TValue
>
Defined in: packages/algo-ts/src/box.ts:214
Creates a Box proxy object offering methods of getting and setting the value stored in a single box.
Type Parameters
• TValue
The type of the data stored in the box. This value will be encoded to bytes when stored and decoded on retrieval.
Parameters
options
Options for creating the Box proxy
Returns
Box
<TValue
>