UMIS SDK
    Preparing search index...

    Function verifyJournal

    • Recomputes the chain from the genesis hash. Returns {ok: true}, or {ok: false, index} for the first entry that is malformed, does not continue the chain (prevHash), or whose hash is not the hash of its event exactly as stored. Never throws.

      Parameters

      Returns { ok: true } | { index: number; ok: false }