Skip to content

pack

pack(value): string

Defined in: packages/store-kit/src/objects/state.ts:38

Encode a value for on-chain box storage.

Only the value itself is persisted — no timestamps or other metadata. The Algorand round in which the record was last submitted serves as the authoritative ordering signal and is recoverable from the chain when needed.

Parameters

value

any

Returns

string