Skip to main content

Withdrawal history

GET

/az/spot/withdraw/history

Time range rules​

  • startTime and endTime must be provided in pairs; providing only one returns an error.
  • When neither is provided, the most recent 3 months are queried by default.
  • The span between startTime and endTime cannot exceed 6 months.

Parameters​

ParameterTypeMandatoryDefaultDescriptionRanges
currencystringfalseCurrency name, which can be obtained from the 'Get the supported currencies for deposit or withdrawal' interface
chainstringfalseThe name of the transfer network, which can be obtained from the interface of 'Get the supported currencies for deposit or withdrawal' interface
statusstringfalseThe status of the withdrawal record, string type,Refer to public module-Deposit/withdrawal statusSUBMIT、REVIEW、AUDITED、AUDITED_AGAIN、PENDING、SUCCESS、FAIL、CANCEL
fromIdLongfalseThe Id of the last pagination, that is, the primary key id of the record
directionStringfalseNEXTPage directionNEXT:next page,PREV:previous page
limitintfalse10Number of records per page, maximum 2001<=limit<=200
startTimeLongfalseQuery range start boundary, timestamp in milliseconds. startTime and endTime must be provided together.
endTimeLongfalseQuery range end boundary, timestamp in milliseconds. startTime and endTime must be provided together.

Response

{
"rc": 0,
"mc": "string",
"ma": [
{}
],
"result": {
"hasPrev": true, //Is there a previous page
"hasNext": true, //Is there a next page
"items": [
{
"id": 763111, //Withdrawal record id
"clientOrderId": "10", //Client ID, string type
"type": "CHAIN_TRANSFER", //Withdrawal type, string enum name: CHAIN_TRANSFER-on-chain withdrawal, INTERNAL_TRANSFER-internal transfer, CMS_TRANSFER-manual credit via admin console
"currency": "usdt", //Currency
"chain": "Ethereum", //Withdraw network
"address": "0xfa3abf", //Withdrawal target address
"memo": "",
"needSwap": false, //Whether a USDT/USDC swap is required
"fromAccount": "SPOT", //Funding source account, e.g. SPOT, FUTURES
"swapCurrency": null, //Currency after swap (null when no swap)
"swapAmount": null, //Amount after swap, string type (null when no swap)
"swapPrice": null, //Swap price, string type (null when no swap)
"status": "REVIEW", //Refer to public module-Deposit/withdrawal record status
"amount": "30", //Withdrawal Amount, string type
"fee": "0", //Withdrawal fee, string type
"confirmations": 0, //Number of block confirmations
"transactionId": "", //Transaction hash
"createdTime": 1667763470000 //Withdrawal application time, timestamp in milliseconds
},
{
"id": 763107,
"clientOrderId": "10",
"type": "CHAIN_TRANSFER",
"currency": "usdt",
"chain": "Tron",
"address": "TYnJJw",
"memo": "",
"needSwap": false,
"fromAccount": "SPOT",
"swapCurrency": null,
"swapAmount": null,
"swapPrice": null,
"status": "REVIEW",
"amount": "50",
"fee": "1",
"confirmations": 0,
"transactionId": "",
"createdTime": 1667428286000
}
]
}
}