# 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 查詢訂單 通用響應字段 →