Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/rational-radix-expansion-audit

For a supplied exact signed rational and base2..16, return integer digits, shortest nonrepeating fractional prefix, minimal repeating block, reduced fraction and full finite remainder-cycle witness, then compare the entire canonical expansion claim. Terminating expansions have an empty repeat block; infinite zero or maximal-digit alternatives are not the declared canonical form. Numerator-10000..1

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/rational-radix-expansion-audit

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/rational-radix-expansion-audit", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"base":10,"claimed":{"integer_digits":[0],"nonrepeating_digits":[1],"repeating_digits":[6],"sign":1},"denominator":6,"numerator":1}),
});
console.log(await res.json());

Example input

{
  "base": 10,
  "claimed": {
    "integer_digits": [
      0
    ],
    "nonrepeating_digits": [
      1
    ],
    "repeating_digits": [
      6
    ],
    "sign": 1
  },
  "denominator": 6,
  "numerator": 1
}