"OverUnder" 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 obtains the betting information of each player and then synchronizes 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
betZone
number
Area number: 1: Points; 2: Sum of points; 3: Big or small; 4: Odd or even; 5: Dice; 6: Long card; 7: Short card;
zoneIndex
number
The index of the corresponding area. Points: 16; Points sum: 417; Big and small: 1 small and 2 big; Odd and even: 1 odd and 2 even; Surrounding dice: 06 (0 means any triple); Long card: 115; Short card: 1~6;
ticket
number
bet multiplier
amount
number
Bet amount
currency
string
Currency name (USDT, etc., see the currency list for details)
Example
{
action: 'sendData',
data:{
op:"Bet",
data:[
{
gameId:number, //Game ID
name:"hhsayy22" //Merchant Player Name
id:"12132111313", //Merchant Player IDd
bets: {
betZone:1, //Area number. 1: Points; 2: Sum of points; 3: Big or small; 4: Odd or even; 5: Dice; 6: Long card; 7: Short card;
zoneIndex:2, //The index of the corresponding area. Points: 1~6; Sum of points: 4~17; Big/small: 1 small 2 big; Odd/even: 1 odd 2 even; Surrounding dice: 0~6 (0 means any triple); Long card: 1~15; Short card: 1~6;
currency:"usdt", //Currency name (USDT, etc., see the currency list for details)(us
amount:10, //Bet amount
ticket:10 //bet multiplier
} //Betting list, example: indicates that the player places 10 bets in the 2nd (2 points) block of area 1 (points)注10注
}
]
}
}
2、Lottery result notification
Lottery result notification
Step------— op:"ShowRound",
Data parameter description
roundId
number
Issue number
nums
number[]
Digital display, the points of the three dice for each game result, each point is an integer from 1 to 6, example: [2,5,6]
Example
{
action: 'sendData',
data: {
op:"Bet",
data:{
roundId:202504090002, //Issue number
nums:[2,5,6] //Digital display, the points of the three dice in each game, each point is an integer from 1 to 6, example: [2,5,6]
}
}
}
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 idd
name:"hhsayy22" //Merchant Player Name
currency:"usdt, //Currency name (USDT, etc., see the currency list for details)
money:0.05 //The player's winning amount
}
}
}
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), '*');
}
Step------— op:"Follow",
Data parameter description
betZone
number[]
Area number: 1: Points; 2: Sum of points; 3: Big or small; 4: Odd or even; 5: Dice; 6: Long card; 7: Short card;
zoneIndex
The index of the corresponding area. Points: 16; Points sum: 417; Big and small: 1 small and 2 big; Odd and even: 1 odd and 2 even; Surrounding dice: 06 (0 means any triple); Long card: 115; Short card: 1~6;
ticket
number
Betting multiples for follow-up investment
amount
number
Amount of follow-up investment
currency
string
The name of the currency to be invested (USDT, etc., see the currency list for details)
Example
{
action: 'sendData',
data:{
op:"Follow",
data:[
{
betZone:1, //Area number. 1: Points; 2: Sum of points; 3: Big or small; 4: Odd or even; 5: Dice; 6: Long card; 7: Short card;
zoneIndex:2, //The index of the corresponding area. Points: 1~6; Sum of points: 4~17; Big/small: 1 small 2 big; Odd/even: 1 odd 2 even; Surrounding dice: 0~6 (0 means any triple); Long card: 1~15; Short card: 1~6;
currency:"usdt", //Currency name (USDT, etc., see the currency list for details)
amount:10, //The amount of the follow-up bet
ticket:10 //Betting multiples for follow-up investment
} //Betting list, example: indicates that the player places 10 bets in the 2nd (2 points) block of area 1 (points)
]
}
}
Last updated