Overview
Given two ordered full binary trees encoded as 0 or (LR), with equal counts of at most five internal nodes, reconstruct their undirected elementary rotation distance, exact number of shortest vertex paths, and lexicographically first whole shortest path with removed and added convex-polygon diagonals at every step. The claim checks distance only; the full path, count and witnesses are delivered. Missing source, target or claim remains unknown.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
datenvertrag
Indexed
2026-11-24 12:33:25
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"claimed_distance": 2,
"from": "(((00)0)0)",
"to": "(0((00)0))"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"state": "observed",
"value": {
"claimed_matches": true,
"complete": true,
"distance": 2,
"internal_nodes": 3,
"missing": [],
"moves": [
{
"add": [
1,
3
],
"remove": [
0,
2
]
},
{
"add": [
1,
4
],
"remove": [
0,
3
]
}
],
"path": [
"(((00)0)0)",
"((0(00))0)",
"(0((00)0))"
],
"shortest_path_count": "1"
}
}
},
"type": "json"
}