Xsolla-logoXsolla Developers
or
To Publisher Account

Get current user's daily rewardsClient-side

get/v2/project/{project_id}/user/daily_chain

Client endpoint. Gets the current user's daily rewards.

Notice

A method returns a paginated list of items. The maximum and default value is 50 items per response. To get more items from the list, use the `limit` and `offset` parameters and fetch more pages. For example, when calling a method with `limit = 25` and `offset = 100`, the response returns 25 items starting from the 101st item in the overall list.
SecurityXsollaLoginUserJWT
Request
path Parameters
project_id
required
integer

Project ID. You can find this parameter in your Publisher Account next to the name of the project.

Example: 44056
query Parameters
limit
integer >= 1

Limit for the number of elements on the page.

Example: limit=50
offset
integer >= 0

Number of the element from which the list is generated (the count starts from 0).

Example: offset=0
Responses
200

The user’s daily rewards were successfully retrieved.

401

Authentication not passed or wrong.

Request samples
Response samples
application/json
{
  • "has_more": false,
  • "total_items_count": 3,
  • "items": [
    ]
}