跳至主要内容

查詢提現紀錄

提示
  • endTime - startTime需要小於等於30天. 默認查詢最近30天的紀錄。
  • 僅支持母帳號的API key

HTTP 請求

GET /v5/asset/withdraw/query-record

請求參數

參數是否必需類型說明
withdrawIDfalsestring提現Id
txIDfalsestring交易哈希ID
coinfalsestring幣種
withdrawTypefalseinteger提現類型. 0(默認): 鏈上提幣. 1: 平台內部轉帳. 2: 所有方式
startTimefalseinteger開始時間戳 (毫秒)
endTimefalseinteger結束時間戳 (毫秒)
limitfalseinteger每頁數量限制. [1, 50]. 默認: 50
cursorfalsestring游標,用於翻頁

響應參數

參數類型說明
rowsarrayObject
> withdrawIdstring提現Id
> txIDstring交易Id,提現失敗/提現撤銷:為空
> withdrawTypeinteger提現類型. 0: 鏈上提幣. 1: 內部轉帳
> coinstring幣種
> chainstring鏈名
> amountstring提幣金額
> withdrawFeestring提幣手續費
> statusstring提幣狀態
> toAddressstring提現目標地址. 內部轉帳:顯示Bybit UID
> tagstring標籤
> createTimestring提現創建時間戳 (毫秒)
> updateTimestring提現更新時間戳 (毫秒)

請求示例

GET /v5/asset/withdraw/query-record?coin=USDT&withdrawType=2&limit=2 HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1672194949557
X-BAPI-RECV-WINDOW: 5000

響應示例

{
"retCode": 0,
"retMsg": "success",
"result": {
"rows": [
{
"coin": "USDT",
"chain": "ETH",
"amount": "77",
"txID": "",
"status": "SecurityCheck",
"toAddress": "0x99ced129603abc771c0dabe935c326ff6c86645d",
"tag": "",
"withdrawFee": "10",
"createTime": "1670922217000",
"updateTime": "1670922217000",
"withdrawId": "9976",
"withdrawType": 0
},
{
"coin": "USDT",
"chain": "internalAddressChain",
"amount": "20.1234",
"txID": "",
"status": "success",
"toAddress": "999805",
"tag": "",
"withdrawFee": "0",
"createTime": "1698889833000",
"updateTime": "1698889846000",
"withdrawId": "13310",
"withdrawType": 1
}
],
"nextPageCursor": "eyJtaW5JRCI6OTgwMSwibWF4SUQiOjk5NzZ9"
},
"retExtInfo": {},
"time": 1672194949928
}