查询用户钱包余额(USER_DATA)
接口描述
查询用户钱包余额
HTTP请求
GET /sapi/v1/asset/wallet/balance
请求权重(IP)
60
请求参数
名称 | 类型 | 是否必需 | 描述 |
---|---|---|---|
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- 您需要打开 API Key 的 Permits Universal Transfer 权限以使用此接口
响应示例
[
{
"activate": true,
"balance": "0",
"walletName": "Spot"
},
{
"activate": true,
"balance": "0",
"walletName": "Funding"
},
{
"activate": true,
"balance": "0",
"walletName": "Cross Margin"
},
{
"activate": true,
"balance": "0",
"walletName": "Isolated Margin"
},
{
"activate": true,
"balance": "0.71842752",
"walletName": "USDⓈ-M Futures"
},
{
"activate": true,
"balance": "0",
"walletName": "COIN-M Futures"
},
{
"activate": true,
"balance": "0",
"walletName": "Earn"
},
{
"activate": false,
"balance": "0",
"walletName": "Options"
}
]