v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Wallet

Withdraw History (supporting network) (USER_DATA)

Fetch withdraw history.

This endpoint specifically uses per second UID rate limit, user's total second level IP rate limit is 180000/second. Response from the endpoint contains header key X-SAPI-USED-UID-WEIGHT-1S, which defines weight used by the current IP.

  • network may not be in the response for old withdraw.
  • Please notice the default startTime and endTime to make sure that time interval is within 0-90 days.
  • If both startTime and endTime are sent, time between startTime and endTime must be less than 90 days
  • If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.
  • If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.

Weight(UID): 18000 Request Limit: 10 requests per second

get/sapi/v1/capital/withdraw/history

Query parameters

coinstring
Example:BNB

Coin name

withdrawOrderIdstring
statusinteger
  • 0 - Email Sent
  • 1 - Cancelled
  • 2 - Awaiting Approval
  • 3 - Rejected
  • 4 - Processing
  • 5 - Failure
  • 6 - Completed
startTimeinteger

UTC timestamp in ms

endTimeinteger

UTC timestamp in ms

offsetinteger
limitinteger
Example:5

Default 500; max 1000.

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

List of withdraw history

addressstring required
amountstring required
applyTimestring required
coinstring required
idstring required
withdrawOrderIdstring required

will not be returned if there's no withdrawOrderId for this withdraw.

networkstring required
transferTypeinteger required

1 for internal transfer, 0 for external transfer

statusinteger required
transactionFeestring required
confirmNointeger
infostring

Reason for withdrawal failure

txIdstring required

Example response

[
  {
    "address": "0x94df8b352de7f46f64b01d3666bf6e936e44ce60",
    "amount": "8.91000000",
    "applyTime": "2019-10-12 11:12:02",
    "coin": "USDT",
    "id": "b6ae22b3aa844210a7041aee7589627c",
    "withdrawOrderId": "WITHDRAWtest123",
    "network": "ETH",
    "status": 6,
    "transactionFee": "0.004",
    "confirmNo": 3,
    "info": "The address is not valid. Please confirm with the recipient",
    "txId": "0xb5ef8c13b968a406cc62a93a8bd80f9e9a906ef1b3fcf20a2e48573c17659268"
  }
]