跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt

Use this file to discover all available pages before exploring further.

查询划转列表 (SIGNED)

查询合约账户划转记录

请求URL

POST https://cloud-api.wooxpro.com/account/v1/transfer-contract-list

请求限制

参见 速率限制详细

请求参数

请求
curl 
 -H 'X-BM-KEY:{{AccessKey}}'
 -H 'X-BM-TIMESTAMP:{{currentTime}}'
 -H 'X-BM-SIGN:{{SIGN}}' 
 -X POST -d '{
    "currency":"USDT",
    "time_start":1684391137804,
    "time_end":1684392577804,
    "page":1,
    "limit":10,
    "recvWindow":5000
}'
https://cloud-api.wooxpro.com/account/v1/transfer-contract-list
参数类型是否必填描述
currencyString币种, 如 BTC
time_startLong起始时间(时间戳,精确到毫秒) 如: 1681701557927
time_endLong结束时间(时间戳,精确到毫秒) 如: 1681701557927
pageInt必填第几页,取值范围[1,10000]
limitInt必填每页返回条数,取值范围[10,100]
recvWindowLong交易时效时间,取值范围(0,60000], 默认:5000 毫秒
注意
  • 没有填写时间范围time_starttime_end,则默认展示全部的数据。
  • 填写时间范围的话,time_end 必须比 time_start 的值大。
  • 如果只填写了time_start,则查询从该时间戳开始时间往后的历史记录。
  • 如果只填写了time_end,则查询从该时间戳开始时间往前的历史记录。

响应详情

响应
{
    "message":"OK",
    "code":1000,
    "trace":"82abff12-b9d9-4f66-89ea-3b604c6d84",
    "data":{
        "records":[{
            "transfer_id":"664651258694168576",
            "currency":"USDT",
            "amount":"0.1",
            "type":"contract_to_spot",
            "state":"FINISHED",
            "timestamp":1638631674326
        }]
    }
}
字段类型描述
transfer_idString划转ID
currencyString币种
amountString成功划转的金额
typeString划转方向
-spot_to_contract=现货到合约
-contract_to_spot=合约到现货
stateString划转结果
-PROCESSING=等待执行
-FINISHED=成功划转
-FAILED=划转失败
timestampLong创建时间戳(ms)