Query Managed Sub-account Margin Asset Details(For Investor Master Account)(USER_DATA)
API Description
Investor can use this api to query managed sub account margin asset details
HTTP Request
GET /sapi/v1/managed-subaccount/marginAsset
Request Weight(IP)
1
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
STRING | YES | Managed Sub Account Email | |
accountType | STRING | NO | No input or input "MARGIN" to get Cross Margin account details. Input "ISOLATED_MARGIN" to get Isolated Margin account details. |
Response Example
{
marginLevel:"999"
totalAssetOfBtc:"0"
totalLiabilityOfBtc:"0"
totalNetAssetOfBtc:"0"
userAssets:[
0:{
asset:"MATIC"
borrowed:"0"
free:"0"
interest:"0"
locked:"0"
netAsset:"0"
},
1:{
asset:"VET"
borrowed:"0"
free:"0"
interest:"0"
locked:"0"
netAsset:"0"
},
2:{
asset:"BAKE"
borrowed:"0"
free:"0"
interest:"0"
locked:"0"
netAsset:"0"
}
]
}