跳到主要内容

获取全仓杠杆划转历史 (USER_DATA)

接口描述

获取全仓杠杆划转历史

HTTP请求

GET /sapi/v1/margin/transfer

请求权重

1(IP)

请求参数

名称类型是否必需描述
assetSTRINGNO
typeSTRINGNO划转类型: ROLL_IN, ROLL_OUT
startTimeLONGNO
endTimeLONGNO
currentLONGNO当前查询页。 从 1开始。 默认:1
sizeLONGNO默认:10 最大:100
isolatedSymbolSTRINGNO逐仓交易对,适用于逐仓查询
recvWindowLONGNO赋值不能大于 60000
timestampLONGYES
  • 响应返回为降序排列。
  • 查询时间范围最大不得超过30天。
  • startTimeendTime没传,则默认返回最近7天数据

响应示例

{
"rows": [
{
"amount": "0.10000000",
"asset": "BNB",
"status": "CONFIRMED",
"timestamp": 1566898617,
"txId": 5240372201,
"type": "ROLL_IN",
"transFrom": "SPOT",//SPOT,FUTURES,FIAT,DELIVERY,MINING,ISOLATED_MARGIN,FUNDING,MOTHER_SPOT,OPTION,SUB_SPOT,SUB_MARGIN,CROSS_MARGIN
"transTo": "ISOLATED_MARGIN",//SPOT,FUTURES,FIAT,DELIVERY,MINING,ISOLATED_MARGIN,FUNDING,MOTHER_SPOT,OPTION,SUB_SPOT,SUB_MARGIN,CROSS_MARGIN
},
{
"amount": "5.00000000",
"asset": "USDT",
"status": "CONFIRMED",
"timestamp": 1566888436,
"txId": 5239810406,
"type": "ROLL_OUT",
"transFrom": "ISOLATED_MARGIN",//SPOT,FUTURES,FIAT,DELIVERY,MINING,ISOLATED_MARGIN,FUNDING,MOTHER_SPOT,OPTION,SUB_SPOT,SUB_MARGIN,CROSS_MARGIN
"transTo": "ISOLATED_MARGIN",//SPOT,FUTURES,FIAT,DELIVERY,MINING,ISOLATED_MARGIN,FUNDING,MOTHER_SPOT,OPTION,SUB_SPOT,SUB_MARGIN,CROSS_MARGIN
"fromSymbol": "BNBUSDT",
"toSymbol": "BTCUSDT"
},
{
"amount": "1.00000000",
"asset": "EOS",
"status": "CONFIRMED",
"timestamp": 1566888403,
"txId": 5239808703,
"type": "ROLL_IN"
}
],
"total": 3
}