Verification

Verify a memory's Merkle inclusion

Public, no API key. POST only: a GET returns 404. Mode stored looks the proof up by itself from memory_id or event_hash and reports whether the batch was anchored. Modes light and full (default when mode is omitted) verify a proof the client supplies and require event_hash, proof and batch_root. Only hashes and metadata are returned, never content.

IMPORTANT: a Merkle proof exists only for memories that went through a compression batch (POST /v1/compress). Every other memory returns valid: false with anchor_status: "uncompressed" — that does NOT mean it is unanchored. Each memory is written to the memory contract individually when it syncs; check that with /v1/my/memory/{seq}/proof and /v1/memory/{id}/verify.

post/v1/verify-memory

Request

  • Base URL: https://api.chainmemory.ai
  • URL: https://api.chainmemory.ai/v1/verify-memory
  • Auth: none required

Request body

mode'stored' | 'light' | 'full'

Default: full

memory_idinteger

mode=stored: internal memory id

event_hashstring

mode=stored alternative to memory_id; required for light/full

proofunknown
batch_rootstring

light/full

memoryunknown
content_hashstring

full

daily_rootstring

full

Response

Result. For mode=stored the shape is shown; light/full return the verifier's own result object.

Changes

No recorded changes to this operation across all 1 revision of this API.