Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/degree-sequence-realization-inventory

For 0 to 6 labelled vertices, enumerate all simple undirected graphs realizing the complete vertex-indexed degree vector. Vertex labels are preserved; no isomorphism quotient or degree sorting. Return ascending edge masks, every canonical edge pair and every connected component ordered by minimum vertex. Bit i corresponds to the ith lexicographic pair(u,v),u<v. Return count, graphical flag and deg

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/degree-sequence-realization-inventory

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/degree-sequence-realization-inventory", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"claimed_masks":[30,45,51],"degrees":[2,2,2,2],"vertices":4}),
});
console.log(await res.json());

Example input

{
  "claimed_masks": [
    30,
    45,
    51
  ],
  "degrees": [
    2,
    2,
    2,
    2
  ],
  "vertices": 4
}