Skip to content

Box

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / index / 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.

TValue

The type of the data stored in the box. This value will be encoded to bytes when stored and decoded on retrieval.

CreateBoxOptions

Options for creating the Box proxy

Box<TValue>