For a supplied simple connected undirected tree on1..32vertices labelled0..n-1,
For a supplied simple connected undirected tree on1..32vertices labelled0..n-1, return a complete per-vertex deletion ledger:each adjacent neighbor in ascending order and the remaining component size reached through it,largest component,minimum largest component over all vertices,and all ascending centroid IDs. A centroid leaves no branch larger than floor(n/2);full source labels retained. Own singleton extension explicitly returnsvertex0 withzero branches/zero balance.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://datenvertrag.halowerk.com/v1/tree-centroid-branch-ledger
| Category | Market data |
|---|---|
| Provider host | datenvertrag.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.003 | 1201 ms |
| 2026-11-26 | valid payment request | 402 | $0.003 | 1223 ms |
| 2026-11-25 | valid payment request | 402 | $0.003 | 1195 ms |
| 2026-11-24 | valid payment request | 402 | $0.003 | 1201 ms |
Example input (from the provider)
{
"body": {
"claimed_value": {
"centroids": [
1,
2
],
"half_limit": 2,
"ledger": [
{
"branches": [
{
"size": 3,
"via_neighbor": 1
}
],
"largest_component": 3,
"vertex": 0
},
{
"branches": [
{
"size": 1,
"via_neighbor": 0
},
{
"size": 2,
"via_neighbor": 2
}
],
"largest_component": 2,
"vertex": 1
},
{
"branches": [
{
"size": 2,
"via_neighbor": 1
},
{
"size": 1,
"via_neighbor": 3
}
],
"largest_component": 2,
"vertex": 2
},
{
"branches": [
{
"size": 3,
"via_neighbor": 2
}
],
"largest_component": 3,
"vertex": 3
}
],
"min_largest_component": 2,
"vertices": 4
},
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
]
],
"vertices": 4
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"claimed_value": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"centroids": {
"items": {
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"type": "array"
},
"half_limit": {
"maximum": 16,
"minimum": 0,
"type": "integer"
},
"ledger": {
"items": {
"additionalProperties": false,
"properties": {
"branches": {
"items": {
"additionalProperties": false,
"properties": {
"size": {
"maximum": 31,
"minimum": 1,
"type": "integer"
},
"via_neighbor": {
"maximum": 31,
"minimum": 0,
"type": "integer"
}
},
"required": [
"via_neighbor",
"size"
],
"type": "object"
},
"maxItems": 31,
"type": "array"
},
"largest_component": {
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"vertex": {
"maximum": 31,
"minimum": 0,
"type": "integer"
}
},
"required": [
"vertex",
"largest_component",
"branches"
],
"type": "object"
},
"maxItems": 32,
"type": "array"
},
"min_largest_component": {
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"vertices": {
"maximum": 32,
"minimum": 1,
"type": "integer"
}
},
"required": [
"vertices",
"half_limit",
"min_largest_component",
"centroids",
"ledger"
],
"type": "object"
},
{
"type": "null"
}
]
},
"edges": {
"anyOf": [
{
"items": {
"items": {
"maximum": 31,
"minimum": 0,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"maxItems": 31,
"type": "array"
},
{
"type": "null"
}
]
},
"vertices": {
"maximum": 32,
"minimum": 1,
"type": "integer"
}
},
"required": [
"vertices",
"edges",
"claimed_value"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}