InputPOST /api/v1/x402/profit-if-yes
{
"shares": 200,
"cost": 50
}
Signal normalize · signal-normalize
Profit if YES resolves after cost basis on shares. Call when net PnL on a YES position at resolution. Returns net profit 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/profit-if-yes -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"shares":200,"cost":50}'
{
"shares": 200,
"cost": 50
}
{
"schema": "delx/util-profit-if-yes/v1",
"shares": 200,
"cost": 50,
"profit": 150
}
Machine-readable evidence