Skip to main content
GET
/
v1
/
compliance
/
merkle
/
root
curl https://api.engram.training/v1/compliance/merkle/root
{
  "root": "16890407db296faf7ff3c80deb93f0bf...",
  "dataHash": "12dc2d671a02203378b43163c8da05cc...",
  "entityCount": 1447,
  "treeSize": 2048,
  "builtAt": "2026-04-08T06:00:00.000Z"
}
Returns the current Merkle root, entity count, data hash, and when the tree was last built. Use this to verify that the on-chain root matches the API. Free — no credits charged.

Response

root
string
The current Merkle root (hex-encoded, 32 bytes).
dataHash
string
SHA-256 hash of the full sorted address list. Matches the on-chain data_hash.
entityCount
number
Number of sanctioned addresses in the dataset.
treeSize
number
Tree size (padded to next power of 2).
builtAt
string
ISO timestamp of when the tree was last rebuilt.
curl https://api.engram.training/v1/compliance/merkle/root
{
  "root": "16890407db296faf7ff3c80deb93f0bf...",
  "dataHash": "12dc2d671a02203378b43163c8da05cc...",
  "entityCount": 1447,
  "treeSize": 2048,
  "builtAt": "2026-04-08T06:00:00.000Z"
}