# 8、查询余额
请求方式
- GET
请求 URL
/api/v3/wallet/query/balance
请求 Header
Content-Type: application/json;charset=utf-8
请求头参数
参数名 | 类型 | 描述 | 示例值 |
---|---|---|---|
access_key | String | 商户后台获取 | pFqV75X3 |
timestamp | int64 | 13位时间戳(毫秒) | 1679724896223 |
nonce | String | 随机字符串(UUID V4) | 794c26b0-d33c-4394-b2bb-c485eca16d9e |
sign | String | 使用密钥生成的签名 | kAXyh+eerqrefyaF8dyFB0M4FVo= |
响应类型
Header: {
"Content-Type": "application/json;charset=utf-8"
}
响应示例
{
"code": "200",
"success": true,
"msg": "成功",
"msgEn": "SUCCESS",
"data": [
{
"accountStatusId": 4,
"accountBalance": "346.525",
"accountFreezeAmount": "0",
"accountWaitSettledAmount": "0",
"chainType": "ETH",
"tokenType": "USDT",
"AccountStatus": "InAndOut"
},
{
"accountStatusId": 4,
"accountBalance": "479.938888",
"accountFreezeAmount": "0",
"accountWaitSettledAmount": "0",
"chainType": "TRON",
"tokenType": "USDT",
"AccountStatus": "InAndOut"
}
]
}
响应参数说明
参数名 | 类型 | 描述 |
---|---|---|
accountStatusId | int64 | 账户状态 ID |
accountBalance | String | 可用余额 |
accountFreezeAmount | String | 冻结金额 |
accountWaitSettledAmount | String | 待划转金额 |
chainType | String | 主链类型 |
tokenType | String | 代币类型 |
AccountStatus | String | 账户状态 |
← 7、Hash 查询订单 通用响应字段 →