QueryUserAssetsResponse
successbooleanrequired
Request validation is successful or not. It will be set to true when the HTTP status is 200.
codeintegerrequired
Request status code. It will be set to 1 when the request is processed successfully. When unsuccessful, there will be an error code.
msgstringrequired
Request status message. It will be set to Success when the request is processed successfully. When unsuccessful, there will be an error message.
timenumberrequired
Current unix timestamp.
data object[]required
Array [
assetstringrequired
Asset
typeAssetTypeEnumrequired
Possible values: [FIAT, CRYPTO, STABLE_COIN]
totalAmountstringrequired
Total amount
availableAmountstringrequired
Available amount
availableActionsAssetActionEnum[]required
Support actions
Possible values: [CONVERT, TRANSFER, WITHDRAW, DEPOSIT, SEND_TO]
cryptoNetwork objectrequired
depositNetworksstring[]required
Available network list for crypto deposit
withdrawalNetworksstring[]required
Available network list for crypto withdrawal
]
QueryUserAssetsResponse
{
"data": [
{
"asset": "string",
"type": "FIAT",
"totalAmount": "string",
"availableAmount": "string",
"availableActions": [
"CONVERT"
],
"cryptoNetwork": {
"depositNetworks": [
"string"
],
"withdrawalNetworks": [
"string"
]
}
}
],
"success": true,
"code": 0,
"msg": "string",
"time": 0
}