{"uid":"cap_GzBBwrn4Lwh2_ZdZF2BZY","slug":"delx-commerce-resolution-payout-matrix-9026bc41","name":"Delx Commerce — Resolution Payout Matrix","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/resolution-payout-matrix?utm_source=zero.xyz","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_YC9MqPA0iUcBsL9EQJB98","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 per-holder payout amounts for a resolved prediction market or multi-outcome contract given share holdings and the winning outcome index.","exampleAgentPrompt":"Calculate the payout matrix for our resolved prediction market — the holdings array is [10, 5, 0] across three outcomes and outcome index 0 is the winner.","exampleUseCases":[{"title":"Prediction market settlement calculator","prompt":"We just resolved our prediction market and outcome index 1 won. The share holdings across outcomes are [3, 12, 0] — can you calculate how much each position pays out?"},{"title":"Multi-outcome bet winner distribution","prompt":"I have a 3-outcome contract where outcome 0 won. Holdings per outcome are [20, 0, 5]. What does the payout matrix look like for the winners?"},{"title":"Agent-managed DeFi resolution payout","prompt":"My agent needs to settle a resolved contract on-chain. Holdings are [0, 8, 15] and the winning index is 2 — give me the payout breakdown per outcome so I can distribute funds."}],"resultDescription":"Returns a JSON object with the schema identifier 'delx/util-resolution-payout-matrix/v1', an array of payout values corresponding to each outcome's share holdings, and the confirmed winning index. Non-winning outcomes receive 0; the winning outcome holders receive their proportional payouts.","failureModes":["Missing or malformed 'holdings' array returns a validation error","Invalid or out-of-range 'winning_index' (e.g. index exceeds holdings array length) returns an error","Empty holdings array may return a zero-payout result or error","Payment failure via x402 (insufficient USDC balance) blocks the call","Network or service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call computation of resolution payouts for prediction markets or multi-outcome contracts without any signup or subscription. Ideal for agents operating in DeFi or prediction market contexts that need a verifiable, on-demand payout matrix at minimal cost ($0.001 USDC). Prefer this over building custom payout logic when you need an auditable result with verifiable delivery over Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:46.048Z","isFirstParty":false,"canonicalSlug":"delx-commerce-resolution-payout-matrix-9026bc41"}