请求接口
/ThirdApi/Assets/getAssets
参数 | 是否必传 | 类型 | 说明 |
---|---|---|---|
token | 是 | string | 用户token |
返回数据示例
{
"status": 200,
"source": "API",
"msg": "OK",
"data": {
"remain": {
"list": [{
"item_id": 10005,
"coin_id": 1001, //币种ID
"name": "btc", //币种名称
"logic_name": "btc",
"order_by": 7,
"all": "0.00000000", //总资产
"over": "0.00000000", //剩余资产
"lock": "0.00000000", //冻结资产
"valuation": { //当前币种资产法币估值
"usd": "0.00",
"cny": "0.00",
"usdt": "0.00",
"aed": "0.00",
"hkd": "0.00",
"jpy": "0.00",
"krw": "0.00"
},
"over_valuation": { //当前币种可用资产法币估值
"usd": "0.00",
"cny": "0.00",
"usdt": "0.00",
"aed": "0.00",
"hkd": "0.00",
"jpy": "0.00",
"krw": "0.00"
}
}
...
],
"u_valuation": "0.00", //持仓估值USDT
"last_profit": "0.00", //昨日收益USDT
"all_u_valuation": { //持仓估值法币
"usd": "0.00", //美元
"cny": "0.00", //人民币
"usdt": "0.00", //usdt
"aed": "0.00", //迪拉姆
"hkd": "0.00", //港币
"jpy": "0.00", //日元
"krw": "0.00" //韩元ß
},
"all_last_valuation": { //昨日收益估值法币
"usd": "0.00",
"cny": "0.00",
"usdt": "0.00",
"aed": "0.00",
"hkd": "0.00",
"jpy": "0.00",
"krw": "0.00"
}
}
},
"seconds": 1631812524,
"microtime": 1631812524703
}