Blockchain Commons Known Values TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Variable KNOWN_VALUESConst

    KNOWN_VALUES: LazyKnownValues = ...

    The global registry of Known Values.

    This static instance provides access to all standard Known Values defined in the registry specification. It is lazily initialized on first access.

    Most users should not need to interact with this directly, as the predefined Known Values are exposed as constants in the known_values module.

    import { KNOWN_VALUES } from '@bcts/known-values';

    // Access the global store
    const knownValues = KNOWN_VALUES.get();

    // Look up a Known Value by name
    const isA = knownValues.knownValueNamed('isA');
    console.log(isA?.value()); // 1