InputPOST /api/v1/x402/approx-eq
{
"a": 1,
"b": 1.0004,
"tolerance": 0.001
}
Agent operations math · agent-ops-math
Approximate equality within tolerance. Call when you compare floats from agent math without exact-equality traps. Returns equal flag, a, b, tolerance for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/approx-eq -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"a":1,"b":1.0004,"tolerance":0.001}'
{
"a": 1,
"b": 1.0004,
"tolerance": 0.001
}
{
"schema": "delx/util-approx-eq/v1",
"equal": true,
"a": 1,
"b": 1.0004,
"tolerance": 0.001
}
Machine-readable evidence