{"uid":"cap_AXv6pSYAZlxTr1ieMlVQh","slug":"delx-resolution-payout-matrix-bf1afdb2","name":"Delx Resolution Payout Matrix","description":"Payout matrix for multi-outcome shares at resolution. Call when computing gross payouts when one outcome wins. Returns payouts per outcome holding 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/resolution-payout-matrix","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"holdings":{"type":"array","description":"Share holdings per outcome"},"winning_index":{"type":"integer","description":"Index of the winning outcome"}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-resolution-payout-matrix/v1","payouts":[10,0,0],"winning_index":0}},"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_G-u_GyDRGA0OqEeGYRCc2","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 payout amounts for each outcome in a prediction market or structured settlement given share holdings and a winning outcome index.","exampleAgentPrompt":"I have three outcome shares [10, 5, 0] and outcome 0 won — calculate the payout matrix for me.","exampleUseCases":[{"title":"Prediction market settlement calculation","prompt":"I'm running a 3-outcome prediction market and outcome index 1 just won. The share holdings are [0, 25, 15]. Can you calculate the payout matrix so I know how much to send each holder?"},{"title":"Binary bet resolution payout","prompt":"We had a yes/no bet with holdings [50, 0] and the 'yes' side (index 0) won. What's the payout matrix so I can settle this automatically?"},{"title":"Agent-driven multi-outcome game resolution","prompt":"My agent needs to resolve a 4-outcome game — the holdings are [8, 0, 12, 0] and outcome index 2 is the winner. Give me the full payout breakdown."}],"resultDescription":"Returns a JSON object with the schema identifier 'delx/util-resolution-payout-matrix/v1', a 'payouts' array with the computed payout amount for each outcome position, and the 'winning_index' echoed back for confirmation.","failureModes":["Missing or empty 'holdings' array returns a validation error","'winning_index' out of bounds for the holdings array length causes an error","Non-integer winning_index or non-numeric holdings values return a schema error","Empty request body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic computation of payout amounts from share holdings after a prediction market or structured outcome event resolves. It is purpose-built for agent-driven settlement workflows where you already know the winning index and need to allocate funds programmatically. Prefer this over custom code when operating in blockchain or agent pipeline contexts where auditability and schema-versioned outputs matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:10:07.584Z","isFirstParty":false}