REST APIActivity
Get activity registration
The signed-in wallet's registration for the activity named by activityCode, for
example lol-worlds or cs2-major.
ApiKeyAuthBearerAuthx-api-key<token>API key authentication via the x-api-key header.
AuthorizationBearer <JWT>Bearer authentication via the Authorization: Bearer <token> header.
activityCode*stringThe activity's code, for example lol-worlds or cs2-major.
application/json; charset=utf-8- response
success*booleandata*curl -X GET 'https://api.predict.fun/v1/activities/string/me/registration'{ "success": true, "data": { "joined": true, "joinedAt": "string" }}Join an activity POST
Registers the signed-in wallet for the activity named by activityCode, for example lol-worlds or cs2-major.
Get activity box types GET
The box types of an activity that rewards trading with boxes, such as cs2-major, from the most common to the rarest. A box's type is its level. Every box carries a boxTypeId, and the type's name and rarity tell which level that is. The prize of a type is not listed. A wallet learns it by opening a box of that type. This endpoint can have breaking changes without notice, and it can be removed after the activity ends.