{
  "format": "delx/intent-card/v1",
  "id": "seeded-lottery-draw-api",
  "intent": "Seeded Lottery Draw for an agent workflow",
  "title": "Seeded Lottery Draw API for agents",
  "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 on Base. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Uses Python pseudorandomness for reproducibility, not cryptography, lotteries with value, security tokens, gambling, or custody. Advisory output only; the buyer owns authorization, payment policy, and production decisions.",
  "keywords": [
    "Seeded Lottery Draw API",
    "Seeded Lottery Draw for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/seeded-lottery-draw-api",
  "machine_url": "https://commerce.delx.ai/intents/seeded-lottery-draw-api.json",
  "recommendation": {
    "tool_name": "util_seeded_lottery_draw",
    "service_name": "Seeded Lottery Draw",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/seeded-lottery-draw",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "labels": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "string",
            "maxLength": 8192
          },
          "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."
        },
        "seed": {
          "type": "string",
          "maxLength": 8192,
          "description": "Seed supplied to Seeded Lottery Draw; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "labels",
        "draw_count",
        "seed"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "labels": [
        "A",
        "B",
        "C",
        "D"
      ],
      "draw_count": 2,
      "seed": "draw-8"
    },
    "example_output": {
      "schema": "delx/util-seeded-lottery-draw/v1",
      "operation": "seeded_decision:seeded_lottery_draw",
      "status": "pass",
      "result": {
        "winners": [
          "A",
          "C"
        ],
        "count": 2,
        "monetary_claim": false
      },
      "evidence": {
        "input_sha256": "30fdaea9dd102f586715000ed359c830e8c6a4f617e772a7eb534dcf023999b8",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/seeded-lottery-draw -m POST -H 'x-delx-source: intent-card-seeded-lottery-draw-api' --max-amount 0.001 -b '{\"labels\":[\"A\",\"B\",\"C\",\"D\"],\"draw_count\":2,\"seed\":\"draw-8\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-seeded-lottery-draw-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/seeded-lottery-draw"
  }
}
