Ct merkle root compute

ct-merkle-root-compute · version 1.0.0 · Encoding & checksums · free, no key needed

Compute the RFC 6962 v1 domain-separated Merkle Tree Hash of raw leaves.

Use when you need to: compute an RFC 6962 v1 certificate transparency tree root · hash raw CT leaves with RFC 6962 domain separation · calculate a certificate transparency v1 Merkle root.

Decide before calling

Read the versioned contract and the supported scope below. Reuse ct-merkle-root-compute@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use ct-merkle-root-compute@1.0.0 for compute an RFC 6962 v1 certificate transparency tree root. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "leaves": []
}

Response:

{
  "result": {
    "root": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "leaf_count": 0,
    "standard": "RFC 6962",
    "reference": "RFC 6962 sections 2.1 and 2.1.1"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "ct-merkle-root-compute",
  "version": "1.0.0",
  "input": {
    "leaves": []
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/ct-merkle-root-compute/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"leaves":[]}'

The machine-readable contract is at /v1/tools/ct-merkle-root-compute/versions/1.0.0.

CLI

node cli.mjs run ct-merkle-root-compute 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.