Withdrawal history
GET
/az/spot/withdraw/history
Time range rules
startTimeandendTimemust 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
startTimeandendTimecannot exceed 6 months.
Parameters
| Parameter | Type | Mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| currency | string | false | Currency name, which can be obtained from the 'Get the supported currencies for deposit or withdrawal' interface | ||
| chain | string | false | The name of the transfer network, which can be obtained from the interface of 'Get the supported currencies for deposit or withdrawal' interface | ||
| status | string | false | The status of the withdrawal record, string type,Refer to public module-Deposit/withdrawal status | SUBMIT、REVIEW、AUDITED、AUDITED_AGAIN、PENDING、SUCCESS、FAIL、CANCEL | |
| fromId | Long | false | The Id of the last pagination, that is, the primary key id of the record | ||
| direction | String | false | NEXT | Page direction | NEXT:next page,PREV:previous page |
| limit | int | false | 10 | Number of records per page, maximum 200 | 1<=limit<=200 |
| startTime | Long | false | Query range start boundary, timestamp in milliseconds. startTime and endTime must be provided together. | ||
| endTime | Long | false | Query 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
}
]
}
}