{"uid":"cap_OS6JNilo1r1o_3haXroBD","slug":"delx-commerce-seeded-dice-roll-d560437a","name":"Delx Commerce Seeded Dice Roll","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/seeded-dice-roll?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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."}}},"responseSchema":{"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"}},"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_EcZyOUEVeQ3LPz0cXQD-5","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":"Rolls one or more dice using a deterministic seed, returning reproducible results with a cryptographic evidence trail and no data retention.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Reproducible tabletop RPG dice roll","prompt":"Roll 2 twenty-sided dice using the seed 'dungeon-master-42' so I can verify the result later — show me each die and the total."},{"title":"Seeded lottery draw simulation","prompt":"Simulate rolling 5 dice with 100 sides each using the seed 'raffle-round-7' so the result is deterministic and I can prove no tampering."},{"title":"Fair coin-flip style game decision","prompt":"Roll 1 two-sided die with the seed 'player-choice-xyz' to make a fair, verifiable binary decision for our game."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:49.059Z","isFirstParty":false,"canonicalSlug":"delx-commerce-seeded-dice-roll-d560437a"}