/app/balance

Get asset balance for the specified user 获取某个用户的资产余额

import requests

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

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

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

unique user id for the specified user

string
Responses

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