Skip to main content

deriveObserverId

HardKAS SDK


HardKAS SDK / artifacts/src / deriveObserverId

Function: deriveObserverId()

deriveObserverId(input): string

Defined in: packages/artifacts/src/tx-observation.ts:118

The opaque, stable identity of a HardKAS observer instance: a domain digest of what configures it (its kind, the configured target and its raw locator). Same configuration ⇒ same observer ⇒ ONE history; the locator itself is never exposed.

Parameters​

input​

kind​

"rpc" | "synthetic"

locator?​

string

target​

string

Returns​

string