Flash Bet is an interactive module designed to provide quick and seamless betting options to your users. It is fully integrated with live match data, dynamically reacting to events occurring during the match.
Flash Bet is an optional feature that can be enabled within the Virtual Stadium configuration.
Enable Flash Bet Make sure that you have Flash Bet enabled
Moderation Setup
Add the desired Sportradar Entity ID (srEntityId) to the channel.

To integrate Flash Bet with Virtual Stadium:
Register your adapter with the global SIR function, ensuring only one adapter is registered per page load.
Implement the matchEventSuggestedSelection endpoint to map live chat incidents (like goals or cards) to available betting market parameters.
Implement the market endpoint or eventMarkets endpoint to retrieve live odds and outcome statuses.
Return the formatted selections and odds through the callback, updating statuses dynamically (e.g., during suspensions or bet stops).
Virtual Stadium widgets will call the adapter endpoints of this flow sequentially when a match event occurs in the chat feed to display flash bets.
Backend: Implement the adapter endpoints
For a comprehensive implementation example with step-by-step guidance on suggestion and market fetch endpoints, see the Adapter Flash Bet Endpoint Example.
Frontend: Enable Flash Bet Features
To enable flash bet widgets and configure custom odds action callbacks:
enableFlashBet: true in the Virtual Stadium configuration.onAction: "FlashBetOutcome" event in your custom onAction handler.The market and eventMarkets endpoints are mutually exclusive — you only need to implement one to supply market data for the UI based on your API structure:
market (+ availableMarketsForEvent): Choose this if your system's API serves market data, active prices, and status updates by specific market/selection IDs (and specifiers).eventMarkets: Choose this if your system's API only serves active market data by event ID, returning all markets for the entire match/fixture in a single payload.