API Reference

Get Points

Method Name

public/get_points

Get all points for user across all programs. This request is cached in WSGI.

Parameters

program string required
Program for which to count points
wallet string required
Wallet address of the user

Response

id string or integer required
result object required
result.flag string required
Flag user for special treatment
result.parent string required
Wallet address of referrer
result.percent_share_of_points string required
Percentage of total points earned by user
result.total_notional_volume string required
Total $ notional volume traded by the user in program
result.total_users integer required
Total number of users in the program
result.user_rank integer or null required
User's rank in the program
result.points object required
Points earned per category

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}