"MTD" 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
page
number
Page number:
1:Last Num;
2:Special num;
3:Reciprocal;
4:Integration;
5:Fan-Tan;
sub
number
page=1
Last Num:
1:Last 2 digits;
2:Last 3 digits;
3:Last 4 digits;
page=2
Special num:
1:Exact 2D-Special;
2:Exact 3D-Special;
3:Exact 4D-Special;
4:Exact 2D-1st;
page=3
Reciprocal:
1:Any 3D-Special;
2:Any 4D-Special;
page=4
Integration:
1:Any 1D-special;
2:Any 1D-1st;
3:Crab Sic Bo;
page=5
Fan-Tan:
1:Integration;
2:Fan;
3:Nim1-2;
4:Nim3-4;
5:Kwok;
currency
string
Currency name (USDT, etc., see the currency list for details)
amount
number
Bet amount
num
number
Specific betting content:
page=1
Last Num: Specific numbers
page=2
Special num: Specific numbers
page=3
Reciprocal: Specific numbers
page=4
Any 1D-special: Specific numbers
Any 1D-1st: Specific numbers
Crab Sic Bo:
0 : Crab; 1 : Sic; 2 : Bo;
page=5
Integration: 1: big; 2: small; 3: single; 4: double; Fan: 1: 1Fan; 2: 2Fan; 3: 3Fan; 4:4Fan; Nim1-2: 1: 1 Nim 2; 2: 1 Nim 3; 3: 1 Nim 4; 4: 2 Nim 1; 5: 2 Nim 3; 6: 2 Nim 4; Nim3-4: 1: 3 Nim 1; 2: 3 Nim 2; 3: 3 Nim 4; 4: 4 Nim 1; 5: 4 Nim 2; 6: 4 Nim 3; Kwok: 1:1-2; 2:1-4; 3:2-3; 4:3-4;
Example
{
action: 'sendData',
data: {
op:"Bet",
data:{
gameId:202, //Game ID
name:"hhsayy22", //Merchant Player Name
id:"123456", //Merchant Player ID
bets:{
page:1, //Page number
sub:1, //Sub-area number
currency:"usdt", //Currency (USDT...)
amount:10, //Bet amount
num:"12", //Specific bet content
}
}[]
}
}
2、Lottery result notification
Lottery result notification
Step: op:"ShowRound",
Data parameter description
roundId
number
Issue number
draw
string[][]
Lottery results (index 0~8 represents the results of SP, G1, G2, G3, G4, G5, G6, G7, G8)
Example
{
action: 'sendData',
data: {
op:"Bet",
data:{
roundId:202504090002, //Issue number
draw: [["023419"],["76012"],["56424"]], //Lottery results (index 0~8 represents the results of SP, G1, G2, G3, G4, G5, G6, G7, G8)
}
}
}
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
page
number
Page number:
1:Last Num;
2:Special num;
3:Reciprocal;
4:Integration;
5:Fan-Tan;
sub
number
page=1
Last Num:
1:Last 2 digits;
2:Last 3 digits;
3:Last 4 digits;
page=2
Special num:
1:Exact 2D-Special;
2:Exact 3D-Special;
3:Exact 4D-Special;
4:Exact 2D-1st;
page=3
Reciprocal:
1:Any 3D-Special;
2:Any 4D-Special;
page=4
Integration:
1:Any 1D-special;
2:Any 1D-1st;
3:Crab Sic Bo;
page=5
Fan-Tan:
1:Integration;
2:Fan;
3:Nim1-2;
4:Nim3-4;
5:Kwok;
currency
string
Currency name (USDT, etc., see the currency list for details)
amount
number
Bet Amount
num
string
Specific betting content:
page=1
Last Num: Specific numbers
page=2
Special num: Specific numbers
page=3
Reciprocal: Specific numbers
page=4
Any 1D-special: Specific numbers
Any 1D-1st: Specific numbers
Crab Sic Bo:
0 : Crab; 1 : Sic; 2 : Bo;
page=5
Integration: 1: big; 2: small; 3: single; 4: double; Fan: 1: 1Fan; 2: 2Fan; 3: 3Fan; 4:4Fan; Nim1-2: 1: 1 Nim 2; 2: 1 Nim 3; 3: 1 Nim 4; 4: 2 Nim 1; 5: 2 Nim 3; 6: 2 Nim 4; Nim3-4: 1: 3 Nim 1; 2: 3 Nim 2; 3: 3 Nim 4; 4: 4 Nim 1; 5: 4 Nim 2; 6: 4 Nim 3; Kwok: 1:1-2; 2:1-4; 3:2-3; 4:3-4;
Example
{
action: 'sendData',
data: {
op:"Follow",
data:[
{
page: 0, //Bet type
sub: 1, //Sub-area number
currency:"usdt", //Currency name (USDT...)
amount: 10, //Bet Amount
num: "123", //Specific betting content
}
]
}
}
Last updated