{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "x402-casino-production-up-railway-app-entrypoints-casino-stats-invoke",
  "title": "x402 Casino \u00b7 Ledger & Game Statistics",
  "url": "http://x402-casino-production.up.railway.app/entrypoints/casino-stats/invoke",
  "category": "data",
  "summary": "Retrieve ledger aggregates, recent game history, and current casino wallet status.",
  "seo": {
    "title": "Casino Stats API | x402 Payment Required",
    "description": "Access casino ledger aggregates, game history, and wallet status. High-fidelity on-chain gaming data via x402. $1000 USDC per call."
  },
  "use_cases": [
    "Monitor casino financial performance",
    "Audit game outcomes and ledger integrity",
    "Track whale activity and betting patterns"
  ],
  "ideal_buyer": "Gaming operators, risk managers, and auditors requiring comprehensive casino intelligence.",
  "example_prompt": "Get the current casino wallet balance and recent coin flip statistics.",
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "expensive_outlier",
    "ratio": 50000,
    "median_category_atomic": 20000
  },
  "pricing_review_required": true,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x05f4dcc0677883e63fd1c4f22e2f5a66ca2b5e44",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "1000000000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Inspect ledger aggregates, recent game history, and current casino wallet status.",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "GET",
          "bodyType": "json",
          "bodyFields": {
            "input": {
              "type": "object",
              "properties": {
                "historyLimit": {
                  "type": "integer"
                },
                "refreshBalance": {
                  "type": "boolean"
                }
              }
            }
          }
        },
        "output": {
          "output": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "totalGames",
              "totalVolumeUSDC",
              "totalPayoutsUSDC",
              "totalNetProfitUSDC",
              "coinFlip",
              "luckyNumber",
              "casinoWalletAddress",
              "casinoWalletBalanceUSDC",
              "history"
            ],
            "properties": {
              "history": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "timestamp",
                    "game",
                    "variantKey",
                    "stakeUSDC",
                    "houseEdgeBps",
                    "payoutMultiplier",
                    "win",
                    "payoutUSDC",
                    "payoutTxHash",
                    "detail"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "win": {
                      "type": "boolean"
                    },
                    "game": {
                      "enum": [
                        "coin_flip",
                        "lucky_number"
                      ],
                      "type": "string"
                    },
                    "detail": {
                      "type": "object",
                      "required": [
                        "randomSeed"
                      ],
                      "properties": {
                        "guess": {
                          "type": "number"
                        },
                        "coinResult": {
                          "type": "string"
                        },
                        "randomSeed": {
                          "type": "string"
                        },
                        "playerChoice": {
                          "type": "string"
                        },
                        "winningNumber": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "stakeUSDC": {
                      "type": "string"
                    },
                    "timestamp": {
                      "type": "string"
                    },
                    "payoutUSDC": {
                      "type": "string"
                    },
                    "variantKey": {
                      "type": "string"
                    },
                    "houseEdgeBps": {
                      "type": "number"
                    },
                    "payoutTxHash": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "payoutMultiplier": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "coinFlip": {
                "type": "object",
                "required": [
                  "wins",
                  "losses"
                ],
                "properties": {
                  "wins": {
                    "type": "number"
                  },
                  "losses": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "totalGames": {
                "type": "number"
              },
              "luckyNumber": {
                "type": "object",
                "required": [
                  "wins",
                  "losses"
                ],
                "properties": {
                  "wins": {
                    "type": "number"
                  },
                  "losses": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "totalVolumeUSDC": {
                "type": "string"
              },
              "totalPayoutsUSDC": {
                "type": "string"
              },
              "totalNetProfitUSDC": {
                "type": "string"
              },
              "casinoWalletAddress": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "casinoWalletBalanceUSDC": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": false
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "x402-casino-production-up-railway-app",
    "host": "x402-casino-production.up.railway.app",
    "title": "x402-casino-production",
    "description": "An x402-payable origin hosted on Railway. No application is currently deployed at this endpoint.",
    "url": "http://x402-casino-production.up.railway.app"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/x402-casino-production-up-railway-app-entrypoints-casino-stats-invoke",
    "url": "https://x402all.com/resource/x402-casino-production-up-railway-app-entrypoints-casino-stats-invoke",
    "name": "x402 Casino \u00b7 Ledger & Game Statistics",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/x402-casino-production-up-railway-app-entrypoints-casino-stats-invoke",
      "@type": "Offer",
      "price": "1000",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "1000.000000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "http://x402-casino-production.up.railway.app/entrypoints/casino-stats/invoke",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/x402-casino-production-up-railway-app",
      "url": "http://x402-casino-production.up.railway.app",
      "name": "x402-casino-production",
      "@type": "Organization"
    },
    "identifier": "x402-casino-production-up-railway-app-entrypoints-casino-stats-invoke",
    "description": "Access casino ledger aggregates, game history, and wallet status. High-fidelity on-chain gaming data via x402. $1000 USDC per call.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=x402-casino-production-up-railway-app-entrypoints-casino-stats-invoke",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "data"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=x402-casino-production-up-railway-app-entrypoints-casino-stats-invoke"
}
