/app/userbalances

Get ALL asset balances for the specified user 获得某个用户的所有资产的余额

import requests

headers = {
    'Authorization': 'Bearer %s' % api_token,
    'Accept':'application/json'
}

data = {
  	'user_id': 'woshikeaidexiaoxiong'
}
response = requests.get('https://sandboxapi.legendtrading.com/app/userbalances', json=data, headers=headers)

data = response.json()
print(data)
Query Params
string

unique user id for the specified user

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json