I have a unity game which I need to provide users reward after completion of Levels. The reward would go out in cryptocurrencies, thus needs to be secure for the backend API to be sure that there is no manipulation. Is there any standard approach to track user’s score using the backend API, so that only users who reach the certain level by playing the game.
There’s a couple approaches you can use.
Assuming you trust the player devices to be sending honest data, you can just use the Analytics service and a custom event to track player progress.
However if you don’t trust the build not to be compromised, then Cloud Code and Cloud Save could work for your purposes. Cloud Code could be used to let you validate that whatever parameters sent by the game client meet your requirements, and Cloud Save could be used to save player specific progress for reference.
Depends exactly what you’re envisioning but those are the tools I’m aware of that are the closest fit to your description.