跳至主要内容

查詢萬能劃轉紀錄

提示
  • 母子帳號的api key都支持調用
  • 母帳號的api key需擁有"母子帳戶劃轉"(SubMemberTransfer)權限
  • 子帳號的api key需擁有"母子帳戶劃轉"(SubMemberTransferList)權限
信息

startTime & endTime都不傳入時, API默認返回30天的數據

HTTP 請求

GET /v5/asset/transfer/query-universal-transfer-list

請求參數

參數是否必需類型說明
transferIdfalsestringUUID. 使用創建萬能劃轉時的UUID
coinfalsestring幣種
statusfalsestring劃轉狀態. SUCCESS,FAILED,PENDING
startTimefalseinteger開始時間戳 (毫秒) 注意: 實際查詢時是秒級維度生效
endTimefalseinteger結束時間戳 (毫秒) 注意: 實際查詢時是秒級維度生效
limitfalseinteger每頁數量限制. [1, 50]. 默認: 20
cursorfalsestring游標,用於翻頁

響應參數

參數類型說明
listarrayObject
> transferIdstring劃轉Id
> coinstring劃轉幣種
> amountstring劃轉金額
> fromMemberIdstring劃出UID
> toMemberIdstring劃入UID
> fromAccountTypestring劃出賬戶類型
> toAccountTypestring劃入賬戶類型
> timestampstring劃轉創建時間戳 (毫秒)
> statusstring劃轉狀態
nextPageCursorstring游標,用於翻頁

請求示例

GET /v5/asset/transfer/query-universal-transfer-list?limit=1&cursor=eyJtaW5JRCI6MTc5NjU3OCwibWF4SUQiOjE3OTY1Nzh9 HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN-TYPE: 2
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1672190762800
X-BAPI-RECV-WINDOW: 5000

響應示例

{
"retCode": 0,
"retMsg": "success",
"result": {
"list": [
{
"transferId": "universalTransfer_4c3cfe2f-85cb-11ed-ac09-9e37823c81cd_533285",
"coin": "USDC",
"amount": "1000",
"timestamp": "1672134373000",
"status": "SUCCESS",
"fromAccountType": "UNIFIED",
"toAccountType": "UNIFIED",
"fromMemberId": "533285",
"toMemberId": "592324"
}
],
"nextPageCursor": "eyJtaW5JRCI6MTc4OTYwNSwibWF4SUQiOjE3ODk2MDV9"
},
"retExtInfo": {},
"time": 1672190763079
}