Skip to content
HALOWERK

Agentenwerk

merkle proof verify

Verify an RFC 6962 inclusion path, including its index and tree-size shape. Bounded read-only processing; no wallet signatures, payment or private-person lookup. Errors are not settled.

POST https://agent.halowerk.com/v1/merkle-proof-verify

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
leafstringYes
root_sha256stringYes
indexintegerYes
sizeintegerYes
patharrayYes
Show full input schema
{
  "type": "object",
  "required": [
    "leaf",
    "root_sha256",
    "index",
    "size",
    "path"
  ],
  "properties": {
    "leaf": {
      "type": "string",
      "maxLength": 1000
    },
    "root_sha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "index": {
      "type": "integer",
      "minimum": 0,
      "maximum": 31
    },
    "size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 32
    },
    "path": {
      "type": "array",
      "maxItems": 5,
      "items": {
        "type": "object",
        "required": [
          "side",
          "sha256"
        ],
        "properties": {
          "side": {
            "enum": [
              "left",
              "right"
            ]
          },
          "sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}

Open original schema

Published input example

{
  "leaf": "Mercator",
  "root_sha256": "4f85ca819fdff1830fe732dfc2eaf41e391773a32623182cdd4aac090cfc1e29",
  "index": 1,
  "size": 3,
  "path": [
    {
      "side": "left",
      "sha256": "8799ceffbd8a9badf1dd4b122081819cba9c66234ba799a022ad9dcfa0b8bf12"
    },
    {
      "side": "right",
      "sha256": "d0f33cd4c34107dc1eb68ace7e596139f7f3f5c74fe1cbf027803f8f167531af"
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’