Docs menu · Reference

Verifies that the visible event log in the selected branch and space is dense and hash-linked: sequences are contiguous from zero, the genesis record links to the all-zeros hash, and every record’s hash matches its content and predecessor.

Status commands return a scalar or compact status payload and do not mutate database state.

Examples

Verify the integrity of the event hash chain.

CLI

$ strata event append user.created {"id":1}
$ strata event verify-chain

Wire

{"event_type":"user.created","payload":{"id":1},"type":"event_append"}
{"type":"event_verify_chain"}

Parameters

No parameters.

Plus the optional scope: branch and space (default to the session branch and the "default" space).

Returns

StatusValue<EventChainVerification>.

Errors

Invocation

  • CLI: strata event verify-chain
  • Wire type: event_verify_chain

agents: this page as markdown → /docs/reference/event/verify_chain.md