Method Name
public/get_points
public/get_pointsGet 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
Deprecated |
| result.total_notional_volume
string
required
Total $ notional volume traded by the user in program |
| result.total_users
integer
required
Deprecated |
| result.user_rank
integer or null
required
Deprecated |
| 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}