Root is a storage root.

interface StorageRoot {
    hash: Uint8Array;
    ns: Uint8Array;
    root_type: number;
    version: longnum;
}

Properties

hash: Uint8Array

Hash is the merkle root hash.

ns: Uint8Array

Namespace is the namespace under which the root is stored.

root_type: number

Type is the type of storage this root is used for.

version: longnum

Version is the monotonically increasing version number in which the root is stored.