Get history records of deposit
GET: /v1/spot/deposit/history
Parameters
Parameter | Type | mandatory | Default | Description | Ranges |
---|---|---|---|---|---|
currency | string | true | Currency name, can be obtained from the response of "Get the supported currencies for deposit or withdrawal" API | ||
chain | string | true | Transfer networks, can be obtained from the response of "Get the supported currencies for deposit or withdrawal" | ||
status | string | false | The status of deposit | SUBMIT、REVIEW、AUDITED、PENDING、SUCCESS、FAIL、CANCEL | |
fromId | long | false | Start ID, e.g. 6216559590087220004 | ||
direction | string | false | NEXT | query direction | PREV, NEXT |
limit | int | false | 10 | Limit number, max 200 | 1 <= limit <= 200} |
startTime | long | false | Start time used for filtering deposit list, timestamp in milliseconds | ||
endTime | long | false | End time used for filtering deposit list, timestamp in milliseconds |
Response
{
"code": 200,
"msg": "string",
"msgInfo": [
{}
],
"data": {
"hasPrev": true, //Is there a previous page
"hasNext": true, //Is there a next page
"items": [
{
"id": 169669597, //Unique ID of the deposit record
"currency": "xlm2", //Currency name
"chain": "XLM", //Transfer Network
"memo": "441824256", //memo
"status": "SUCCESS", //The status of deposit
"amount": "0.1", //Deposit amount
"confirmations": 12, //Number of block confirmations
"transactionId": "28dd15b5c119e00886517f129e5e1f8283f0286b277bcd3cd1f95f7fd4a1f7fc", //Unique ID of transaction
"address": "GBY6UIYEYLAAXRQXVO7X5I4BSSCS54EAHTUILXWMW6ONPM3PNEA3LWEC", //Target address of deposit
"fromAddr": "GBTISB3JK65DG6LEEYYFW33RMMDHBQ65AEUPE5VDBTCLYYFS533FTG6Q", //From address of deposit
"createdTime": 1667260957000 //Time of deposit record in millisecondstime
}
]
}
}