查詢劃轉記錄(單帳號內)
查詢劃轉記錄列表
HTTP 請求
GET /asset/v3/private/transfer/inter-transfer/list/query
請求參數
參數 | 是否必須 | 類型 | 說明 |
---|---|---|---|
transferId | true | string | UUID,全局唯一 |
coin | true | string | 幣種類型 |
status | false | string | 劃轉狀態 |
startTime | false | integer | 開始時間戳(毫秒) 注意: 實際查詢時是秒級維度生效 |
endTime | false | integer | 結束時間戳(毫秒) 注意: 實際查詢時是秒級維度生效 |
limit | false | integer | 每頁數量限制 |
cursor | false | string | 游標, 用來分頁 |
返回參數
參數 | 類型 | 說明 |
---|---|---|
transferId | string | UUID,全局唯一 |
coin | string | 幣種類型 |
amount | string | 劃轉數量 |
fromAccountType | string | 轉出賬戶類型 |
toAccountType | string | 轉入賬戶類型 |
timestamp | string | 創建時間戳 (毫秒) |
status | string | 劃轉狀態 |
nextPageCursor | string | 游標信息:用來分頁 |
請求示例
GET /asset/v3/private/transfer/inter-transfer/list/query?coin=USDT HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-API-KEY: xxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1670926842754
X-BAPI-RECV-WINDOW: 50000
X-BAPI-SIGN: xxxxxxxxxxxxxxx
響應示例
{
"retCode": 0,
"retMsg": "success",
"result": {
"list": [
{
"transferId": "22b168ef-1917-4bbe-a8bd-4ea729ec5887",
"coin": "USDT",
"amount": "1",
"fromAccountType": "SPOT",
"toAccountType": "UNIFIED",
"timestamp": "1668749670000",
"status": "SUCCESS"
},
{
"transferId": "selfTransfer_4420a136-5610-44d3-97bb-a3d0551869a9",
"coin": "USDT",
"amount": "1",
"fromAccountType": "UNIFIED",
"toAccountType": "SPOT",
"timestamp": "1668570868000",
"status": "SUCCESS"
}
],
"nextPageCursor": "eyJtaW5JRCI6NTYxMzUxLCJtYXhJRCI6MTU2Mzg4OX0="
},
"retExtInfo": {},
"time": 1670926842908
}