Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/prefix-function-source-word-family

Given a whole prefix_table of length0..6 with integer0<=prefix_table[i]<=i, reconstruct EVERY word over the FIXED labelled alphabet0,1,2 whose prefix function equals that vector exactly. Entryi is the MAXIMUM length k<i+1 for which the firstk symbols equal the lastk symbols of prefix endingati. Empty match length0 allowed. Return every whole word as a digitstring in lexicographic order, count and

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/prefix-function-source-word-family

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://datenvertrag.halowerk.com/v1/prefix-function-source-word-family", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"claim":{"count":1,"realizable":true,"words":[""]},"prefix_table":[]}),
});
console.log(await res.json());

Example input

{
  "claim": {
    "count": 1,
    "realizable": true,
    "words": [
      ""
    ]
  },
  "prefix_table": []
}