HTTP · Account & wallet

Get Deposit History

Returns deposit records.

GEThttps://api.koinsayang.com/api/v2/spot/wallet/deposit-records

Request parameters

NameTypeRequiredDescription
coin
query
stringOptionalCoin, e.g. USDT
orderId
query
stringOptionalOrder ID
startTime
query
stringYesStart time
endTime
query
stringYesEnd time
idLessThan
query
stringOptionalLast ID from the previous request
limit
query
stringOptionalNumber of records, default 100, max 100

Response fields

FieldTypeDescription
orderIdstringOrder ID
tradeIdstringTransaction ID; on-chain transaction hash if dest is on_chain; order ID if dest is
coinstringCoin
typestringTransaction type, fixed as deposit
deststringDeposit type; see enumeration values: deposit type
sizestringNumber
statusstringDeposit status; see enumeration values: deposit status
fromAddressstringDeposit initiator; see enumeration values: deposit and withdrawal address identification
toAddressstringDeposit recipient; see enumeration values: deposit and withdrawal address identification
chainstringDeposit network; can be ignored if dest is internal_transfer
cTimestringCreation time (ms)
uTimestringLast update time (ms)

Response example

200 · application/json
{
"code": "00000",
"msg": "success",
"requestTime": 1654507973411,
"data": [
{
"orderId": "1",
"tradeId": "1",
"coin": "USDT",
"type": "deposit",
"size": "10.00000000",
"status": "success",
"toAddress": "0x51xxx",
"dest": "on_chain",
"chain": "erc20",
"fromAddress": "0x52xxx",
"cTime": "1653290769222",
"uTime": "1653290769222"
}
]
}