API Integration (Preview)
Illustrative façade matching the whitepaper’s artifacts. Real deployments should treat these as adapters over the normative objects.
POST /v1/anchor
curl -X POST https://api.eternitylayer.org/v1/anchor \
-H "Content-Type: application/json" \
-d '{"hash":"<authoritative-digest>","chain":["btc","eth"],"policy":"CFS-Dual"}'
POST /v1/verify
curl -X POST https://api.eternitylayer.org/v1/verify \ -H "Content-Type: application/json" \ -d '@eternity-package.json'
Response includes decomposition of anchors (b, q, ρ), predicates, and the final decision.