{"uid":"cap_SdFr6Ljchcm7qIzMcUlBJ","slug":"delx-seeded-lottery-draw-ff16da89","name":"Delx Seeded Lottery Draw","description":"Seeded Lottery Draw: Seeded Lottery Draw draws unique labels reproducibly from a caller-owned pool without monetary claims from bounded caller-supplied values without an external provider. Call Seeded Lottery Draw when an agent needs a reproducible decision that another run can independently replay. Returns the deterministic selection plus seed provenance, population bounds, and the operation-specific outcome for Seeded Lottery Draw as versioned deterministic JSON. Price: $0.001 USDC via x402 o…","url":"https://api.delx.ai/api/v1/x402/seeded-lottery-draw","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"string","maxLength":8192,"description":"Seed supplied to Seeded Lottery Draw; used only for this bounded calculation and processed in memory without retention."},"labels":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Labels supplied to Seeded Lottery Draw; used only for this bounded calculation and processed in memory without retention."},"draw_count":{"type":"integer","description":"Draw Count supplied to Seeded Lottery Draw; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"count":2,"winners":["A","C"],"monetary_claim":false},"schema":"delx/util-seeded-lottery-draw/v1","status":"pass","evidence":{"retained":false,"input_sha256":"30fdaea9dd102f586715000ed359c830e8c6a4f617e772a7eb534dcf023999b8","external_calls":0},"operation":"seeded_decision:seeded_lottery_draw"}},"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_9qidkAHciS2T0bspCdZDS","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":"Performs a deterministic, reproducible lottery draw from a labeled list using a caller-supplied seed, returning a fixed count of winners.","exampleAgentPrompt":"Run a seeded lottery draw with seed 'summer2024' from the list ['Alice','Bob','Carol','Dave','Eve'] and pick 2 winners.","exampleUseCases":[{"title":"Raffle winner selection for giveaway","prompt":"Run a seeded lottery draw with seed 'launch-raffle-42' from this list of entrants: ['Alice','Bob','Carol','Dave','Eve','Frank'] and draw 3 winners — I want it reproducible so I can verify later."},{"title":"Random task assignment for agent fleet","prompt":"I have 5 agent IDs — ['agent-1','agent-2','agent-3','agent-4','agent-5'] — and I need to randomly assign 2 of them to a high-priority job. Use seed 'job-batch-99' so the pick is auditable."},{"title":"Blind A/B variant selection","prompt":"From the variants ['control','variant-A','variant-B'], draw 1 winner using seed 'experiment-2024-07-01' so the selection is deterministic and I can replay it."}],"resultDescription":"Returns a JSON object containing the list of drawn winners, the count of winners drawn, a boolean indicating whether a monetary claim is involved, plus evidence metadata including whether inputs were retained (always false), a SHA-256 hash of the input for auditability, and the number of external calls made (always 0).","failureModes":["draw_count exceeds the number of labels provided — returns an error or empty/partial draw","missing required fields (seed, labels, or draw_count) — returns a validation error","labels array exceeds 256 items — rejected by schema limit","seed or label strings exceed 8192 character limit — rejected","malformed JSON body — returns a parse error"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, reproducible, and auditable random draw from a labeled list — particularly when you must replay or verify the result later using the same seed. It is ideal for agent workflows requiring fair selection (raffles, task assignment, A/B testing) without relying on external randomness sources. Prefer it over general RNG when auditability via SHA-256 input hashing matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:58.434Z","isFirstParty":false}