跳到主要内容

查询小额资产兑换历史

请求示例

get {{api_url}}/api/v3/capital/convert?timestamp={{timestamp}}&signature={{signature}}

返回示例

{
"data": [
{
"totalConvert": "0.00885018",
"totalFee": "0.000177",
"convertTime": 1665360563000,
"convertDetails": [
{
"id": "3e52a99c5c3447b2af2163cd829dca28",
"convert": "0.00885018",
"fee": "0.000177",
"amount": "0.007130464601986065",
"time": 1665360563000,
"asset": "ETHF"
}
]
},
{
"totalConvert": "0.026782",
"totalFee": "0.00053562",
"convertTime": 1663631477000,
"convertDetails": [
{
"id": "6483bfb1766d41d8a4b6b6315ded6e99",
"convert": "0.02098255",
"fee": "0.00041965",
"amount": "0.00000098",
"time": 1663631477000,
"asset": "BTC"
},
{
"id": "f9e886f28c454f5dae45eec6a11f6c6a",
"convert": "0.00084019",
"fee": "0.0000168",
"amount": "2",
"time": 1663631477000,
"asset": "JAM"
}
]
}
],
"totalRecords": 4,
"page": 1,
"totalPageNum": 1
}

HTTP请求

  • GET /api/v3/capital/convert

接口权限要求: 现货交易信息读 / SPOT_DEAL_R

权重(IP): 1

请求参数

参数名数据类型是否必须说明
startTimelong开始时间(Unix毫秒时间戳)
endTimelong结束时间(Unix毫秒时间戳)
pageint页数,默认 1
limitint返回的条数,默认 1; 最大 1000
timestampstring时间戳
signaturestring签名

返回参数

参数名数据类型说明
totalConvertstring转换后的mx数量(扣除mx手续费)
totalFeestring本次兑换的总手续费
convertTimelong本次兑换时间
convertDetailsobject本次转换的细节
idstring兑换id
convertstring兑换后的mx
feestring兑换手续费
amountstring币种数量
timelong兑换时间
assetstring币种
pageint当前页
totalRecordsint总记录数
totalPageint总页数