查询钱包信息
请求
GET https://custody-example-url/custody/v1/api/projects/{b_id}/integrated/wallets/coins/{coin_name}
参数
字段 |
类型 |
描述 |
b_id |
String |
业务线ID |
coin_name |
String |
代币名称 |
响应
字段 |
类型 |
描述 |
bid |
String |
业务线ID |
currency |
String |
币种名称 |
total_balance |
Integer |
总数量 |
available_balance |
Integer |
可用 |
frozen_balance |
Integer |
冻结 |
pending_balance |
Integer |
交易待结算冻结 |
fixed_income_amount |
Integer |
固收冻结 |
address_infos |
Object[] |
地址信息 |
- coin_name |
String |
代币名称 |
- address |
String |
入账地址 |
- tag |
String |
入帐地址的tag或memo |
响应示例
{
"code": 0,
"message": "string",
"data": {
"bid": "string",
"currency": "string",
"total_balance": 0,
"available_balance": 0,
"frozen_balance": 0,
"pending_balance": 0,
"fixed_income_amount": 0,
"address_infos": [
{
"address": "string",
"coin_name": "string",
"tag": "string"
}
]
},
"successful": true
}
注意:
1. 充值或提币 USDTERC | USDTOMNI | USDTTRC 都是计入 USDT 币种余额
2. total_balance = available_balance + frozen_balance + fixed_income_amount,pending_balance 不计入总数量