Wire
Wire: {
kind:"string";str:string; } | {bytes:Uint8Array;kind:"bytes"; }
Defined in: packages/store-kit/src/objects/state.ts:40
Tagged on-the-wire payload for a single box value.
kind: "string"— UTF-8 JSON payload, routed through the legacyset(path, value: String)/get(path) -> StringABI methods. Used for paths NOT covered by the schema (partial-schema fallback) and for stores with no schema at all.kind: "bytes"— raw ARC4 bytes, routed through the newset_bytes(path, value: Bytes)/get_bytes(path) -> BytesABI methods. Used for schema-covered paths so another contract canbox_get+arc4.decodenatively without going through a JSON envelope.