Box
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / index / Box
Function: Box()
Section titled “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
Section titled “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
Section titled “Parameters”options
Section titled “options”Options for creating the Box proxy
Returns
Section titled “Returns”Box<TValue>