Example inputPOST /api/v1/x402/prob-to-odds-decimal
{
"prob": 0.4
}
Portable intent card · signal-normalize
Convert a probability into decimal odds. Call when publishing agent fair prices as book-style decimal odds. Returns decimal odds from probability 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.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/prob-to-odds-decimal -m POST -H 'x-delx-source: intent-card-prob-to-odds-decimal-api' --max-amount 0.001 -b '{"prob":0.4}'
{
"prob": 0.4
}
{
"intent": "Probability → Decimal Odds for an agent workflow",
"tool_name": "util_prob_to_odds_decimal",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/prob-to-odds-decimal-api.json"
}
Portable and inspectable