"Powerball" Half-Screen Event Description
Used in live broadcast apps to request period results, player betting information, win/loss results, and follow-up betting operations. It facilitates user interaction within the app.
1、Players' betting results notification
The platform is used to obtain the betting information of each player, and then synchronize it to the APPli, such as synchronizing it to the live broadcast room.
Step: op:"Bet",
data parameter description
gameId
number
Game ID
name
string
Merchant Player Name
id
string
Merchant Player ID
betType
number
Betting type: 0: Double color ball, 1: Odd and even, 2: White ball number and large interval, 3: White ball number and small interval, 4: Powerball interval
white
number[]
White Ball Betting Numbers List
red
number
betType=0,
Powerball betting numbers
betType=1,
Even number: 0, odd number: 1;
betType=2,
15-64:0
65-80:1
81-130:2
betType=3,
15-35:0;
36-49:1;
50-57:2;
58-65:3;
66-78:4;
79-130:5
betType=4,
0-2:0;
3-4:1;
5-6:2;
7-9:3;
currency
string
Currency name (USDT, etc., see the currency list for details)
amount
number
Bet Amount
ticket
number
Number of bets
Example
{
action: 'sendData',
data:{
op:"Bet",
data:[
{
gameId:number, //Game ID
name:"hhsayy22" //Merchant Player Name
id:"12132111313", //Merchant player id
// Betting List
bets:{
betType: 0, //Bet Type
white: [1,3,5,2,6], //White ball betting numbers表
red: 9, //Powerball betting numbers
currency:"usdt", //Currency name (USDT...)
amount: 0.5, //Bet Amount
ticket: 10, //Number of bets
}
}
]
}
}
2、Lottery result notification
Lottery result notification
Steps: op:"ShowRound",
data parameter description
roundId
number
Issue
nums
number[]
Numerical results display
tags
string[]
Display of digital comprehensive and interval selection game results (odd-even results, various interval results, etc.)
Example
{
action: 'sendData',
data: {
op:"Bet",
data:{
roundId:202504090002, //Issue
nums:[1,3,5,2,6,9], //Digital Display
tags:["O","L","E","C"] //OLEC(Display of digital comprehensive and interval selection game results (odd-even results, various interval results, etc.).For those that have been localized in multiple languages, just display them directly)
}
}
}
3、Winning player winning amount notification
Used to synchronize winning amount of players in the live broadcast room
Step: op:"Reward",
data parameter description
Id
string
Merchant player id
name
string
Merchant Player Name
currency
string
Currency name (USDT, etc., see the currency list for details)
money
number
The player's winning amount
Example
{
action: 'sendData',
data: {
op:"Bet",
data:{
id:"12132111313", //Merchant player id
name:"hhsayy22" //Merchant Player Name
currency:"usdt, //Currency name (USDT, etc., see the currency list for details)
money:0.05 //The amount the player wins this time
}
}
}
4、Player follow-up investment request
Refer to the demo code:
// Follow-up investment
const FollowUpInvestment = () => {
if(!postData.data.data){
return;
}
iframe.contentWindow.postMessage(JSON.stringify(postData), '*');
}
Steps: op: "Follow",
data parameter description
betType
number
Betting type: 0: Double color ball, 1: Odd and even, 2: White ball number and large interval, 3: White ball number and small interval, 4: Powerball interval
white
number[]
White Ball Betting Numbers List
red
number
betType=0,
Powerball betting numbers
betType=1,
Even number: 0, odd number: 1;
betType=2,
15-64:0
65-80:1
81-130:2
betType=3,
15-35:0;
36-49:1;
50-57:2;
58-65:3;
66-78:4;
79-130:5
betType=4,
0-2:0;
3-4:1;
5-6:2;
7-9:3;
currency
string
Currency name (USDT, etc., see the currency list for details)
ticket
number
Number of bets
Example
{
action: 'sendData',
data: {
op:"Follow",
data:[
{
betType: 0, //Bet Type
white: [1,3,5,2,6], //White Ball Betting Numbers List
red: 9, //Powerball betting numbers
currency:"usdt", //Currency name (USDT...)
ticket: 10, //Number of bets
}
]
}
}
Last updated