Betting Entertainment Tools

Odds (odds)

Calculated odds are provided to widget in calculate callback.
The calculate function is called when a selection within the widget is updated. We need to provide the odds data (based on selectedOutcomes provided in the function data).

Whenever user selects an outcome, the calculate function is called with the array of selectedOutcomes. Calculated odds are then provided to the widget in the CalculateResponse.

{
  odds: "3.5",
}