Rewards
Reward XP
deprecated
⚠️ DEPRECATED: This endpoint has been deprecated and replaced by the Reward Point endpoint. Please use the Reward Point endpoint for all new implementations.
Award XP (Experience Points) to users for completing specific actions in your application. This endpoint is designed to gamify user engagement by rewarding XP for various activities such as:
- User registration
- Task completion
- Video watching
- Comment posting
- Other custom actions
The endpoint returns an unsigned transaction that needs to be signed using your application’s private key (stored securely in server environment variables). After signing, you can broadcast the transaction using either:
- Execute Transaction endpoint for immediate submission
- Execute Transaction and Wait endpoint if you need to wait for transaction confirmation
This XP system helps create an engaging progression system while maintaining transparency through blockchain-based XP distribution.
POST
Authorizations
Body
application/json
Response
200
application/json
Rewards XP
The response is of type object
.