When you want to check the balance of your margin account, please use the api below.
/POST/api/v1/query/leverAccount
URL:
https://api.crossexchange.io/POST/api/v1/query/leverAccount
Request field:
Name |
Type |
description |
api_key |
String |
API KEY |
auth_nonce |
String |
Timestamp |
auth_sign |
String |
Sign: MD5coding.MD5( api_key+auth_nonce) |
Response:
{
"code": 0,
"data": {
"leverageAccount": "9969.19370000"
},
"channel": "lever-account"
}
code |
String |
0: successful |
leverageAccount |
String |
The balance of your margin account |
channel |
String |
Api kind |