Overview
Given pair count n0..8 and a valid zero-based index, return that word among ALL balanced Dyck words in numeric lexorder with own convention0=opening/up,1=closing/down. Every prefix height is nonnegative and finalheight0. Return total Catalancount, whole chosenword, all prefixheights includinginitial0, and per-position openingbranch completioncount/chosenstep/residualindexbeforeandafter. Empty n0 hasoneemptyword atindex0. Supplied index must be below currentcount; otherwise malformed400.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
datenvertrag
Indexed
2026-11-24 12:33:12
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"claim": [
0,
1,
0,
0,
1,
1
],
"index": 3,
"pairs": 3
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"state": "observed",
"value": {
"branches": [
{
"chosen_step": 0,
"index_after": 3,
"index_before": 3,
"open_completions": 5
},
{
"chosen_step": 1,
"index_after": 0,
"index_before": 3,
"open_completions": 3
},
{
"chosen_step": 0,
"index_after": 0,
"index_before": 0,
"open_completions": 2
},
{
"chosen_step": 0,
"index_after": 0,
"index_before": 0,
"open_completions": 1
},
{
"chosen_step": 1,
"index_after": 0,
"index_before": 0,
"open_completions": 0
},
{
"chosen_step": 1,
"index_after": 0,
"index_before": 0,
"open_completions": 0
}
],
"claimed_matches": true,
"complete": true,
"count": 5,
"heights": [
0,
1,
0,
1,
2,
1,
0
],
"missing": [],
"word": [
0,
1,
0,
0,
1,
1
]
}
}
},
"type": "json"
}