@midnight-ntwrk/onchain-runtime v0.2.2 • Readme | API
@midnight-ntwrk/onchain-runtime v0.2.2 / EncodedStateValue
Type alias: EncodedStateValue
type EncodedStateValue:
| {
tag: "null";
}
| {
content: EncodedStateValue;
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