Skip to main content

Get Sub Account Deposit History

HTTP Request

GET /sapi/v1/broker/subAccount/depositHist

Weight(Master Account)

10

Request Parameters

NameTypeMandatoryDescription
subAccountIdSTRINGNO
coinSTRINGNO
statusINTNO0(0:pending,6: credited but cannot withdraw, 1:success)
startTimeLONGNODefault: 7 days from current timestamp
endTimeLONGNODefault: present timestamp
limitINTNODefault:500
offsetINTNODefault:0
recvWindowLONGNO
timestampLONGYES
  • The query time period must be less than 7 days( default as the recent 7 days).

Example Response

[
{
"depositId": 1234567890123,
"subAccountId": "1",
"address": "0xddc66e4313fd6c737b6cae67cad90bb4e0ac7092",
"addressTag": "",
"amount": "139.04370000",
"coin": "USDT",
"insertTime": 1566791463000,
"transferType": 0, //0: Blockchain transfers, 1: off-chain transfers
"network": "ETH",
"status": 1,
"txId": "0x5759dfe9983a4c7619bce9bc736bb6c26f804091753bf66fa91e7cd5cfeebafd",
"sourceAddress":"xxxxxxxxxxxxxx",
"confirmTimes":"12/12",
"selfReturnStatus": 0
},
{
"depositId": 1234567890123,
"subAccountId": "2",
"address": "0xddc66e4313fd6c737b6cae67kld90bb4e0ac7092",
"addressTag": "",
"amount": "1589.12345678",
"coin": "BTC",
"insertTime": 1566791463000,
"transferType": 1,
"network": "BNB",
"status": 1,
"txId": "Off-chain transfer dbea58fa48ef4cc59393da4552ae77d7",
"sourceAddress":"xxxxxxxxxxxxxx",
"confirmTimes":"12/12",
"selfReturnStatus": 0
}
]