x402
utility

Expected value of buying binary YES at market_price under true_prob. Call when deciding whether a YES buy has positive EV before size. Returns EV per $1 notional on YES 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.

post/api/v1/x402/binary-ev

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/binary-ev
  • Auth: none declared

Request body

true_probnumber required

Input field: true prob.

market_pricenumber required

Input field: market price.

stakeinteger required

Input field: stake.

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
stakenumber
sharesnumber
evnumber

Changes

No recorded changes to this operation across all 1 revision of this API.