Get Historic Match Data Per Account
Use this endpoint to get match information of the latest N number of matches for a given Ronin Wallet Address
POST /custom/getRoninAddressBattleSessions
Header:
authorization
: Bearer token with the format"bearer $accessToken"
content-type
:application/json
Request Body:
{
"roninAddress": "Ronin wallet address (start with '0x', replace 'ronin:' with '0x')",
"limit": "Maximum number of matches returned from latest, max 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