Overview
Anchor verification confirms two things:- Anchor integrity (
valid) — the Merkle root stored in the anchor matches the Merkle root recomputed from the underlying events. - Anchor chain integrity (
chain_valid) — theprevious_anchor_hashcorrectly references the preceding anchor.
List Anchors
Retrieve your workspace’s blockchain anchors:Get Anchor Detail
Retrieve a single anchor with additional fields (first_event_hash, last_event_hash):
Verify an Anchor
The verify endpoint recomputes the Merkle root from the underlying events and checks the anchor chain:Verify Response
Response Fields
Understanding Failures
valid: false
The Merkle root recomputed from the underlying events does not match the stored Merkle root. This means events were modified, inserted, or deleted after the anchor was created. The expected and actual fields show the mismatch.
chain_valid: false
The previous_anchor_hash does not match the expected value computed from the preceding anchor’s merkle_root and tx_hash. This means an anchor was modified, inserted into, or deleted from the anchor chain.