Options
All
  • Public
  • Public/Protected
  • All
Menu
description

A DTO class that consists of the transferable properties of a module state. Typically this includes information that is already public or is known from dHealth Network.

This class shall be used in HTTP responses to avoid any additional data about module states to be revealed.

since

v0.1.0

Hierarchy

Index

Constructors

Properties

Constructors

Properties

data: string

Contains the actual state cache data's hash.

The content is hashed with SHA3-256 to prevent revealing actual state data to the client.

access

public

var

{string}

name: string

Contains the name of this state cache entry. An example name may be "discovery", or "payout" which correspond to a dynamic module that the runtime configuration has enabled.

It is recommended to use camelCase or snake_case for state cache names because these may refer to subfolders of the source code.

access

public

var

{string}

Generated using TypeDoc