Skip to main content

EncodedStateValue

For the complete documentation index, see llms.txt

@midnight-ntwrk/onchain-runtime v3.0.0


@midnight-ntwrk/onchain-runtime / EncodedStateValue

Type Alias: EncodedStateValue

type EncodedStateValue: 
| {
tag: "null";
}
| {
content: AlignedValue;
tag: "cell";
}
| {
content: Map<AlignedValue, EncodedStateValue>;
tag: "map";
}
| {
content: EncodedStateValue[];
tag: "array";
}
| {
content: [number, Map<bigint, [Uint8Array, undefined]>];
tag: "boundedMerkleTree";
};

An alternative encoding of StateValue for use in Op for technical reasons