detect.halowerk.com/v1/commerce/commerce-two-margin-controlled-rounding
Returns the claimed joint feasibility checked when every cell must round only down or up and both row and column totals must remain exact, for an agent that rounds a commerce reconciliation matrix to whole units.
POST
https://detect.halowerk.com/v1/commerce/commerce-two-margin-controlled-roundingUptime100% 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://detect.halowerk.com/v1/commerce/commerce-two-margin-controlled-rounding", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"artifact":{"claimed_feasible":true,"column_totals":[8,6],"denominator":1,"numerators":[[3,6],[5,0]],"row_totals":[9,5]}}),
});
console.log(await res.json());Example input
{
"artifact": {
"claimed_feasible": true,
"column_totals": [
8,
6
],
"denominator": 1,
"numerators": [
[
3,
6
],
[
5,
0
]
],
"row_totals": [
9,
5
]
}
}