DELXCOMMERCE Live contract

Local chain primitives · chain-primitives-local

Fraction to Basis Points

Convert fractional rates into basis points for trading UIs. Call when you need bps labels from internal 0–1 fee or edge fractions. Returns bps = fraction*10000 as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

x402agentslocal-firstmicro-usdcpay-per-callcryptochain-primitives-local

One-command purchase

Run it from an agent.

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/fraction-to-bps -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"fraction":0.0025}'
InputPOST /api/v1/x402/fraction-to-bps
{
  "fraction": 0.0025
}
Delivered resultapplication/json
{
  "schema": "delx/util-fraction-to-bps/v1",
  "fraction": 0.0025,
  "bps": 25
}

Machine-readable evidence

Inspect before paying.