Get Match Activities Across All Accounts
Use this endpoint to get match information of the latest N number of matches for a given Ronin Wallet Address
POST /custom/getAllBattleSessions
Header:
authorization
: Bearer token with the format"bearer $accessToken"
content-type
:application/json
Request Body:
{
"sessionId": "The anchor match id to get the subsequent matches from"
"limit": "Maximum number of oldest match from the above session - must be less than 150"
"requestParams": {
// set true to get relevant information for each match
"getGamePlayModeId": boolean,
"getTeamInfos": boolean,
"getWinTeamId": boolean,
"getGameMapId": boolean,
"getTsCreate": boolean,
"getTotalTurn": boolean,
}
}
Response (if request is successful):
{
status: 0,
data: {
results: [
{
"SessionId": "SessionId 1",
"TeamInfos": [...],
"WinTeamId": 1,
"GameMapId": 15,
"TsCreate": 169877745555,
"TotalTurn": 25,
},
{
"SessionId": "SessionId 2",
"TeamInfos": [...],
"WinTeamId": 0,
"GameMapId": 16,
"TsCreate": 169877745555,
"TotalTurn": 15,
}
]
}
}
Last updated