Skip to main content

提币聚合配置

提币聚合配置

Get aggregated pre-withdrawal configuration. This is the recommended shortest path before creating a withdrawal because it returns withdrawable assets, supported chains, amount limits, precision, memo requirements, and optional whitelist addresses in one response.

Request frequency limit: 1/1s

Request URL

GET /deepcoin/asset/withdraw-config

Request Parameters

Field NameRequiredTypeDescription
ccytruestringCoin, for example USDT
includeAddressesfalsebooleanWhether to include whitelist addresses. Default: false

Response Parameters

Field NameTypeDescription
dataarrayWithdrawal configuration list
>ccystringCoin
>withdrawablestringWithdrawable amount
>quotastringWithdrawal quota. -1 means no fixed quota limit
>usedQuotastringUsed withdrawal quota
>leftQuotastringRemaining withdrawal quota
>withdrawEnabledbooleanWhether withdrawals are enabled
>addressWhitelistWithdrawOnlybooleanWhether withdrawals are restricted to whitelist addresses
>noticestringNotice
>assetsarrayWithdrawable asset list. Same structure as withdraw-assets
>addressesarrayWhitelist address list. Returned when includeAddresses=true
>chainsarrayWithdrawal chain list. Same structure as withdraw-chains
  1. Call GET /deepcoin/asset/withdraw-config?ccy=USDT&includeAddresses=true.
  2. Use chains[].chain as the chain parameter for POST /deepcoin/asset/withdrawal.
  3. Use addresses[].addressId as the required addressId parameter.
  4. Optionally pass addresses[].toAddr as toAddr; the API will use it only for whitelist consistency validation.
  5. Validate amt with chains[].minWd and chains[].precision.
  6. Pass memo when chains[].needMemo=true or when addresses[].memo is not empty.
  7. Pass one accountTypes value when you need to debit an account other than the default funding account.

Response Example

{
"code": "0",
"msg": "",
"data": {
"data": [
{
"ccy": "USDT",
"withdrawable": "36378.15",
"quota": "-1",
"usedQuota": "0",
"leftQuota": "0",
"withdrawEnabled": true,
"addressWhitelistWithdrawOnly": false,
"assets": [
{
"ccy": "USDT",
"available": "36378.15",
"withdrawable": "36378.15"
}
],
"addresses": [
{
"addressId": "574",
"ccy": "USDT",
"chain": "USDT-TRC20",
"chainType": "8",
"toAddr": "TEV1gDkDST3kUtv27SCYfbAoz7ukLMwJdS",
"apiWithdrawEnabled": true
}
],
"chains": [
{
"ccy": "USDT",
"chain": "USDT-TRC20",
"chainName": "TRC20",
"chainType": "8",
"withdrawEnabled": true,
"minWd": "10",
"fee": "11",
"precision": "2",
"needMemo": false
}
]
}
]
}
}