getAccountList
Last updated
Last updated
Interface URL
Sandbox URL:
PROD URL:
HTTP Header
Content-Language
Content-Language
Optional
String(10)
en
en-English (default)
Sign
sign
Required
String
-
Partner ID
Partner-Id
Required
String(12)
-
Http Body
Request Time
requestTime
Required
Timestamp(3)
1581493898000
Business Content
bizContent
Required
GetAccountListRequest
-
Business Content
GetAccountListRequest
Asset List
assetCodeList
Optional
List<string>
[ "USDT", "ETH" ]
Query account list request, if the request parameter assetCodeList is null, it will return a list of accounts in all the currencies.
Http Header
Sign
sign
Required
String
-
The body field in Http Body is only returned when applyStatus is SUCCESS and code is 0.
Http Body
Response Header
head
Required
ResponseHeader
-
Response Body
body
Optional
GetAccountListResponse
-
GetAccountListResponse
Asset List
assetCodeList
Optional
List<accounts>
[ { "availableBalance":{ "amount":100, "currency":"USDT" }, "balance":{ "amount":100, "currency":"USDT" }, "withdrawBalance":{ "amount":100, "currency":"USDT" }, "currencyCode":"USDT" }, { "availableBalance":{ "amount":100, "currency":"ETH" }, "balance":{ "amount":100, "currency":"ETH" }, "withdrawBalance":{ "amount":100, "currency":"ETH" }, "currencyCode":"ETH" } ]