Skip to main content

获取质押借币资金流水(USER_DATA)

接口描述#

获取质押借币资金流水

HTTP请求#

GET /sapi/v1/loan/income

请求权重(UID)#

6000

请求参数#

名称类型是否必需描述
assetSTRINGNO
typeSTRINGNO默认返回所有类型 枚举值:借入 borrowIn,抵押金使用collateralSpent, 还款金额repayAmount, 抵押物返还collateralReturn, 增加抵押物addCollateral, 减少抵押物removeCollateral, 强平后返还抵押物collateralReturnAfterLiquidation
startTimeLONGNO
endTimeLONGNO
limitINTNO默认 20, 最大 100
recvWindowLONGNO
timestampLONGYES

若 startTime 和 endTime 均未发送,只返回最近 7 天数据 startTime 和 endTime 的最大时间间隔为 30 天

响应示例#

[  {    asset: "BUSD",    type: "borrowIn",    amount: "100",    timestamp: 1633771139847,    tranId: "80423589583",  },  {    asset: "BUSD",    type: "borrowIn",    amount: "100",    timestamp: 1634638371496,    tranId: "81685123491",  },]