{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "x402-casino-production-up-railway-app-entrypoints-lucky-number-0-1-invoke-2",
  "title": "x402 Casino \u00b7 Lucky number game (10x payout)",
  "url": "https://x402-casino-production.up.railway.app/entrypoints/lucky-number-0-1/invoke",
  "category": "finance",
  "summary": "Bet 0.1 USDC on a number 1-12; correct guesses receive 10x payout with on-chain randomness verification.",
  "seo": {
    "title": "Lucky Number Game: 0.1 USDC Bet, 10x Win | x402all",
    "description": "Pay 0.1 USDC to guess a number 1-12. Correct guess pays 10x (1 USDC). On-chain randomness on Base. x402 payable gambling endpoint."
  },
  "use_cases": [
    "Run automated betting strategies",
    "Integrate provably fair gambling into agent workflows",
    "Test luck-based game mechanics",
    "Access on-chain randomness for number generation"
  ],
  "ideal_buyer": "AI agents running probabilistic strategies, game developers testing luck mechanics, and users seeking on-chain verifiable randomness.",
  "example_prompt": "Bet 0.1 USDC on lucky number 7 and return whether I won and the payout amount.",
  "example_request_body": {
    "input": {
      "guess": 7,
      "playerAddress": "0x..."
    }
  },
  "risk_notes": [],
  "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": "0x05f4dcc0677883e63fd1c4f22e2f5a66ca2b5e44",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "100000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Lucky number 0.1 USDC; guess 1-12 \u2192 10x.",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyType": "json",
          "bodyFields": {
            "input": {
              "type": "object",
              "required": [
                "guess"
              ],
              "properties": {
                "guess": {
                  "type": "integer"
                },
                "playerAddress": {
                  "type": "string"
                }
              }
            }
          }
        },
        "output": {
          "output": {
            "$schema": "https://json-schema.org/draft/2020-12/schema"
          }
        }
      }
    }
  ],
  "duplicate_cluster_id": "finance-cl-8461927b8e74",
  "origin": {
    "slug": "x402-casino-production-up-railway-app-2",
    "host": "x402-casino-production.up.railway.app",
    "title": "x402 Casino API",
    "description": "An x402-payable API origin hosted on Railway. No application is currently deployed at this endpoint.",
    "url": "https://x402-casino-production.up.railway.app"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/x402-casino-production-up-railway-app-entrypoints-lucky-number-0-1-invoke-2",
    "url": "https://x402all.com/resource/x402-casino-production-up-railway-app-entrypoints-lucky-number-0-1-invoke-2",
    "name": "x402 Casino \u00b7 Lucky number game (10x payout)",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/x402-casino-production-up-railway-app-entrypoints-lucky-number-0-1-invoke-2",
      "@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://x402-casino-production.up.railway.app/entrypoints/lucky-number-0-1/invoke",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/x402-casino-production-up-railway-app-2",
      "url": "https://x402-casino-production.up.railway.app",
      "name": "x402 Casino API",
      "@type": "Organization"
    },
    "identifier": "x402-casino-production-up-railway-app-entrypoints-lucky-number-0-1-invoke-2",
    "description": "Pay 0.1 USDC to guess a number 1-12. Correct guess pays 10x (1 USDC). On-chain randomness on Base. x402 payable gambling endpoint.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=x402-casino-production-up-railway-app-entrypoints-lucky-number-0-1-invoke-2",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "finance"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=x402-casino-production-up-railway-app-entrypoints-lucky-number-0-1-invoke-2"
}
