79trust / 100

Math Numerical

by quantum-artificer.surewhynot.app in Productivity & SaaS

x402 APIPassing, checked 2 h ago

Numerical computing (SciPy): root-finding, optimization, numerical integration (quadrature), eigenvalues/vectors, and linear solves — returned with residuals and condition numbers. Paid in USDC on Base or Solana.

POST https://quantum-artificer.surewhynot.app/v1/math/numerical

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
479 ms typical, 641 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://quantum-artificer.surewhynot.app/v1/math/numerical" \
  -H "content-type: application/json" \
  -d '{"operation":"eigen","spec":{"matrix":[[2,1],[1,2]],"symmetric":true}}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fquantum-artificer.surewhynot.app%2Fv1%2Fmath%2Fnumerical
const res = await pay("https://quantum-artificer.surewhynot.app/v1/math/numerical", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"operation":"eigen","spec":{"matrix":[[2,1],[1,2]],"symmetric":true}}),
});
console.log(await res.json());

Example input

{
  "operation": "eigen",
  "spec": {
    "matrix": [
      [
        2,
        1
      ],
      [
        1,
        2
      ]
    ],
    "symmetric": true
  }
}

Example output

{
  "result": {
    "eigenvalues": [
      1,
      3
    ]
  },
  "status": "succeeded",
  "verification": {
    "passed": true
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402477 ms$0.003
6 h agoPassed402609 ms$0.003
9 h agoPassed402641 ms$0.003
13 h agoPassed402353 ms$0.003
16 h agoPassed4021.0 s$0.003
20 h agoPassed402479 ms$0.003
25 h agoPassed402474 ms$0.003