{"uid":"cap_YyUNVKoirzfYAMtuHrjPh","slug":"delx-bankroll-fraction-stake-15d7ac40","name":"Delx Bankroll Fraction Stake","description":"Stake size from bankroll and fraction (Kelly or fixed-f). Call when turning a fraction into dollars to risk this bet. Returns stake amount 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.","url":"https://api.delx.ai/api/v1/x402/bankroll-fraction-stake?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bankroll":{"type":"integer","description":"Input field: bankroll."},"fraction":{"type":"number","description":"Input field: fraction."}}},"responseSchema":{"type":"json","example":{"stake":50,"schema":"delx/util-bankroll-fraction-stake/v1","bankroll":1000,"fraction":0.05}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dMgSSQTLysf3yHHH-MgGm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the stake amount by multiplying a bankroll integer by a fractional value, returning the resulting stake.","exampleAgentPrompt":"I have a bankroll of 1000 and want to stake 5% of it — can you calculate the exact stake amount for me?","exampleUseCases":[{"title":"Bet sizing for gambling agent","prompt":"My bankroll is 500 and I want to risk 10% on this bet — what's my stake?"},{"title":"Portfolio allocation calculation","prompt":"I have a total fund of 20000 and want to allocate 3.5% to a single position — how much is that in dollars?"},{"title":"Kelly criterion stake sizing","prompt":"My bankroll is 2500 and my Kelly fraction works out to 0.08 — compute the actual stake I should place."}],"resultDescription":"Returns a JSON object containing the computed stake (bankroll × fraction), along with the original bankroll and fraction values and a schema identifier (delx/util-bankroll-fraction-stake/v1) for traceability.","failureModes":["Missing required field 'bankroll' or 'fraction' returns a validation error","Non-integer bankroll or non-numeric fraction may return a type error","Fraction values outside [0,1] may produce unexpected or out-of-range stake amounts","Network or payment failure returns a 402 or 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a simple, deterministic computation of a stake from a bankroll and fraction in an agent pipeline, especially when you want a governed, auditable service call rather than computing inline. Useful when your agent needs a canonical schema-tagged result for downstream validation or logging.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:38:42.282Z","isFirstParty":false,"canonicalSlug":"delx-bankroll-fraction-stake-15d7ac40"}