# Delx Commerce — Resolution Payout Matrix

> Delx Commerce — Resolution Payout Matrix is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes per-holder payout amounts for a resolved prediction market or multi-outcome contract given share holdings and the winning outcome index.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/resolution-payout-matrix?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-resolution-payout-matrix-9026bc41
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GzBBwrn4Lwh2_ZdZF2BZY

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-resolution-payout-matrix-9026bc41 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "holdings": {
   "type": "array",
   "description": "Share holdings per outcome"
  },
  "winning_index": {
   "type": "integer",
   "description": "Index of the winning outcome"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-resolution-payout-matrix/v1",
  "payouts": [
   10,
   0,
   0
  ],
  "winning_index": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-resolution-payout-matrix-9026bc41/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
