# Delx Resolution Payout Matrix

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

Computes payout amounts for each outcome in a prediction market or structured settlement given share holdings and a winning outcome index.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/resolution-payout-matrix
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-resolution-payout-matrix-bf1afdb2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AXv6pSYAZlxTr1ieMlVQh

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-resolution-payout-matrix-bf1afdb2 -d '<json body>'
```

Example prompt: I have three outcome shares [10, 5, 0] and outcome 0 won — calculate the payout matrix for me.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## 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-resolution-payout-matrix-bf1afdb2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
