Admin
Allocate rewards for a competition
Calculate and allocate rewards for a competition by building a Merkle tree and publishing it to the blockchain
post/api/admin/rewards/allocate
Request body
Example request
{
"competitionId": "12345678-1234-1234-1234-123456789012",
"startTimestamp": 1640995200
}Response
Rewards allocated successfully
Example response
{
"success": true,
"message": "Rewards allocated successfully",
"competitionId": "12345678-1234-1234-1234-123456789012"
}Changes
Changed in 2 of the 50 revisions of this API.11
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲