Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/rotor-router-tree-action-ledger

From ONE original connected simple UNDIRECTED labelled graph on vertices0..n with1..3 NONSINK vertices0..n-1 and sink=n, a supplied original sink-rooted spanning TREE parent vector and a chip start<n, compute the rotor-router chip-addition action on that TREE. edge_mask names lexicographic unordered pairs(u,v),u<v,bit0 first. Each nonsink rotor initially points to parents[v]. OWN ribbon convention

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/rotor-router-tree-action-ledger

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/rotor-router-tree-action-ledger", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"claim":[1],"edge_mask":1,"n":1,"parents":[1],"start":0}),
});
console.log(await res.json());

Example input

{
  "claim": [
    1
  ],
  "edge_mask": 1,
  "n": 1,
  "parents": [
    1
  ],
  "start": 0
}