# Delx Commerce Seeded Dice Roll

> Delx Commerce Seeded Dice Roll 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).

Rolls one or more dice using a deterministic seed, returning reproducible results with a cryptographic evidence trail and no data retention.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/seeded-dice-roll?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-seeded-dice-roll-d560437a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OS6JNilo1r1o_3haXroBD

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-seeded-dice-roll-d560437a -d '<json body>'
```

Example prompt: Roll 3 six-sided dice using the seed 'tournament2024' and give me the individual results and total — I need it to be verifiable and reproducible.

## When to prefer this

Choose this endpoint when you need deterministic, reproducible dice rolls that can be cryptographically verified — particularly in fairness-sensitive contexts like games, lotteries, or auditable decisions. It is ideal when data retention must be zero and you need an evidence record (input hash, external call count). It differs from a purely random dice roll in that the same seed always produces the same output.

## Known failure modes

- Invalid dice count or sides (non-integer or zero/negative values) may cause a validation error
- Seed string exceeding 8192 characters will be rejected
- Missing required fields (dice, sides) will return a schema error
- Payment failure via x402 protocol will block execution before computation

## How this service works

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

## Output

A JSON object containing an array of individual roll values, the total sum, a SHA-256 hash of the input for auditability, confirmation that no data was retained, the count of external calls made (zero), the operation name, and a pass/fail status — enabling fully verifiable, reproducible computation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "dice": {
   "type": "integer",
   "description": "Dice supplied to Seeded Dice Roll; used only for this bounded calculation and processed in memory without retention."
  },
  "seed": {
   "type": "string",
   "maxLength": 8192,
   "description": "Seed supplied to Seeded Dice Roll; used only for this bounded calculation and processed in memory without retention."
  },
  "sides": {
   "type": "integer",
   "description": "Sides supplied to Seeded Dice Roll; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "rolls": [
    4,
    5,
    2
   ],
   "total": 11
  },
  "schema": "delx/util-seeded-dice-roll/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "e5fdf978b5cda920d66c6eba6e0fbe9d8a6f7b4ea6e1bc7b308afee464f3682c",
   "external_calls": 0
  },
  "operation": "seeded_decision:seeded_dice_roll"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-seeded-dice-roll-d560437a/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)
