Skip to main content
GET
/
v1
/
checkpoints
/
{checkpoint_id}
/
inclusion-proof
Get inclusion proof
curl --request GET \
  --url https://api.mnemom.ai/v1/v1/checkpoints/{checkpoint_id}/inclusion-proof
{
  "checkpoint_id": "<string>",
  "leaf_hash": "<string>",
  "leaf_index": 123,
  "siblings": [
    {
      "hash": "<string>",
      "position": "left"
    }
  ],
  "root": "<string>",
  "tree_size": 123,
  "verified": true
}

Path Parameters

checkpoint_id
string
required

The checkpoint ID (ic-{uuid} format)

Response

Merkle inclusion proof

Merkle inclusion proof for a checkpoint

checkpoint_id
string
required

The checkpoint ID

leaf_hash
string
required

SHA-256 leaf hash of this checkpoint

leaf_index
integer
required

Index of this leaf in the tree

siblings
object[]
required

O(log N) sibling hashes for proof verification

root
string
required

Current Merkle root (hex-encoded)

tree_size
integer
required

Total number of leaves in the tree

verified
boolean
required

Whether the proof was verified against the stored root