MiniTon WhitePaper
  • 🏆Welcome to MiniTon
  • ❔Why Now and Why MiniTon
  • About MiniTon
    • đŸ’ĩSocial Esports: Flexible and Compatible
      • Entry Fee
      • Prize
      • Types of Tournaments
      • Match Rules
    • đŸ•šī¸Competitive Gaming Platform
      • Discover and Indulge in Captivating Games
      • Ensuring Game Fairness in Every Social Esports Encounter
      • Empowering Every Player to Organize Tournaments
    • đŸĒ„Developer Solution
    • 📈Sustainable Business Model
    • 💲Tokenomic $MTC
    • đŸ§—â€â™‚ī¸Roadmap
  • BUILDERS
    • đŸ’¯Initial Team
    • 🎭Community
    • 🧩DAO Governance
  • Developer Success
    • 👨‍đŸ’ģMiniTon Developer Documentation
      • Set Up Core Loop & Gameplay
      • Random and Fairness
      • Setting up Tournaments and Gameplay Parameters
      • Implement Progression
      • Automatic Difficulty
      • Crash Detection via Crashlytics
      • Anti-Cheating Techniques
      • Aborted Matches and Forfeits
      • API-reference
    • 🤝Developer Cooperation
      • Is your game a game of skill?
      • Go Live with MiniTon
      • Game Marketing Guidelines
      • Tutorial Best Practices
      • Unlock Real Prizes
    • âš™ī¸MiniTon Gaming SDK
      • Introduction
      • Initialize and load your game
      • Start your game until end
      • Reporting Game Data API
      • How to verify your signature
  • Legality
    • đŸ›ī¸The Legality of MiniTon
    • 🔒Privacy Policy
    • âš ī¸User Terms & Conditions
Powered by GitBook

Contact us

  • Telegram

ÂŠī¸MiniTon 2023

On this page

Was this helpful?

  1. Developer Success
  2. MiniTon Gaming SDK

Reporting Game Data API

(optionally) You can report "Match Score (score)" multiple times through this API

Report the match score

POST https://api.miniton.games/api/v2/match/data_report

Request Body

Name
Type
Signature Verification
Description

game_id*

Integer

ID of the game

match_token*

String

Token associated with the ongoing match.

user_ticket*

String

Ticket identifying the user.

taste

Integer

is this a trial game?(can be passed by init fuction

action*

String

Action to be performed

start_game

start_match

score

end_match

end_game

score*

Integer

Current player score Must be provided when the action is "score" or "end_match"; default is 0

auth_date*

Integer

Timestamp for data validation.

auth_sign*

String

"msg": "Success"

Request Example

{
    "body": {
        "game_id": 1,
        "match_token": "47AD1ED23DB1407720049D586C727C3B",
        "user_ticket": "1843BBAEBC83DDB0E45E378BA37014A9",
        "action": "report_score",
        "score": 5,
        "auth_date": 1704816000,
        "auth_sign": ""
    }
}

Response Example

{
    "code": 200,
    "msg": "Success",
}
PreviousStart your game until endNextHow to verify your signature

Last updated 10 months ago

Was this helpful?

Data validation

Parameter

âš™ī¸
Signature Verification
signature