The type of the data stored in the box.
Readonly
existsGet a boolean indicating if the box exists or not
Readonly
keyGet the key used by this box proxy
Readonly
lengthReturns the length of the box, or error if the box does not exist
Get or set the value stored in the box
Get will error if the box does not exist
Create the box for this proxy with a bzero value.
No op if the box already exists
Optional
options: { size?: uint64 }True if the box was created, false if it already existed
Delete the box associated with this proxy if it exists.
True if the box existed and was deleted, else false
Get the value stored in the box if available, and a boolean indicating if the box exists.
If the box does not exist, the value returned at position 0 should not be relied on to have a valid value.
A tuple with the first item being the box value, and the second item being a boolean indicating if the box exists.
A Box proxy