InputPOST /api/v1/x402/fraction-to-bps
{
"fraction": 0.0025
}
Local chain primitives · chain-primitives-local
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.
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/fraction-to-bps -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"fraction":0.0025}'
{
"fraction": 0.0025
}
{
"schema": "delx/util-fraction-to-bps/v1",
"fraction": 0.0025,
"bps": 25
}
Machine-readable evidence