Skip to main content

Get history records of deposit

GET: /v1/spot/deposit/history

Parameters

ParameterTypemandatoryDefaultDescriptionRanges
currencystringtrueCurrency name, can be obtained from the response of "Get the supported currencies for deposit or withdrawal" API
chainstringtrueTransfer networks, can be obtained from the response of "Get the supported currencies for deposit or withdrawal"
statusstringfalseThe status of depositSUBMIT、REVIEW、AUDITED、PENDING、SUCCESS、FAIL、CANCEL
fromIdlongfalseStart ID, e.g. 6216559590087220004
directionstringfalseNEXTquery directionPREV, NEXT
limitintfalse10Limit number, max 2001 <= limit <= 200}
startTimelongfalseStart time used for filtering deposit list, timestamp in milliseconds
endTimelongfalseEnd 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
}
]
}
}