{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "x4021-987659876-xyz-lottery",
  "title": "x4021 \u00b7 USDC Lottery",
  "url": "https://x4021.987659876.xyz/lottery",
  "category": "finance",
  "summary": "Executes a lottery attempt with 5% win probability, returning result and payout transaction on win.",
  "seo": {
    "title": "USDC Lottery API | x402 Gambling Game",
    "description": "5% chance to win 1 USDC. Pay $0.10 USDC per lottery attempt via x402 on Base. On-chain random outcome."
  },
  "use_cases": [
    "Gamified user engagement",
    "Random reward distribution",
    "On-chain lottery mechanics"
  ],
  "ideal_buyer": "Game developers and engagement platforms seeking simple on-chain random reward systems.",
  "example_prompt": "Attempt the lottery for a chance to win 1 USDC.",
  "example_request_body": {},
  "risk_notes": [
    "Initiates outbound payment \u2014 financial risk."
  ],
  "pricing_sanity": {
    "flag": "expensive",
    "ratio": 3.333,
    "median_category_atomic": 30000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0xee72b902af7466023595512e3359bb5bf312977c",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "100000",
      "max_timeout_seconds": 60,
      "mime_type": "application/json",
      "description": "Pay $0.10 USDC to attempt the lottery. 5% chance to win 1 USDC.",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST"
        },
        "output": {
          "type": "object",
          "required": [
            "result",
            "network"
          ],
          "properties": {
            "payout": {
              "type": "number",
              "description": "USDC payout amount (only present on win)"
            },
            "result": {
              "enum": [
                "win",
                "lose"
              ],
              "type": "string"
            },
            "txHash": {
              "type": "string",
              "description": "Transaction hash (only present on win)"
            },
            "network": {
              "type": "string"
            }
          },
          "description": "Lottery attempt result"
        }
      }
    }
  ],
  "duplicate_cluster_id": "finance-cl-9e10ef724d45",
  "origin": {
    "slug": "x4021-987659876-xyz",
    "host": "x4021.987659876.xyz",
    "url": "https://x4021.987659876.xyz"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/x4021-987659876-xyz-lottery",
    "url": "https://x402all.com/resource/x4021-987659876-xyz-lottery",
    "name": "x4021 \u00b7 USDC Lottery",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/x4021-987659876-xyz-lottery",
      "@type": "Offer",
      "price": "0.1",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.100000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://x4021.987659876.xyz/lottery",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/x4021-987659876-xyz",
      "url": "https://x4021.987659876.xyz",
      "name": "x4021.987659876.xyz",
      "@type": "Organization"
    },
    "identifier": "x4021-987659876-xyz-lottery",
    "description": "5% chance to win 1 USDC. Pay $0.10 USDC per lottery attempt via x402 on Base. On-chain random outcome.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=x4021-987659876-xyz-lottery",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "finance"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=x4021-987659876-xyz-lottery"
}
