Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/scd2-validity-ledger

Check a bounded corrected dimension history before a data agent publishes it. Caller-supplied pseudonyms/hashes only; no external identity claim. Conflicting selected hashes yield not_observed; missing coverage yields unknown. A schema-valid unknown is a successful result at the same fixed price. Invalid input must raise native HTTP 400 before settlement.

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/scd2-validity-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/scd2-validity-ledger", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"records":[{"entity":"E","from":0,"hash":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","id":"a","revision":0,"source":"p","to":4},{"entity":"E","from":4,"hash":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","id":"b","revision":0,"source":"p","to":null}],"source_priority":["p","q"],"window":{"from":0,"to":10},"withdrawn_ids":[]}),
});
console.log(await res.json());

Example input

{
  "records": [
    {
      "entity": "E",
      "from": 0,
      "hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "id": "a",
      "revision": 0,
      "source": "p",
      "to": 4
    },
    {
      "entity": "E",
      "from": 4,
      "hash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
      "id": "b",
      "revision": 0,
      "source": "p",
      "to": null
    }
  ],
  "source_priority": [
    "p",
    "q"
  ],
  "window": {
    "from": 0,
    "to": 10
  },
  "withdrawn_ids": []
}