提币聚合配置
提币聚合配置
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 Name | Required | Type | Description |
|---|---|---|---|
| ccy | true | string | Coin, for example USDT |
| includeAddresses | false | boolean | Whether to include whitelist addresses. Default: false |
Response Parameters
| Field Name | Type | Description |
|---|---|---|
| data | array | Withdrawal configuration list |
| >ccy | string | Coin |
| >withdrawable | string | Withdrawable amount |
| >quota | string | Withdrawal quota. -1 means no fixed quota limit |
| >usedQuota | string | Used withdrawal quota |
| >leftQuota | string | Remaining withdrawal quota |
| >withdrawEnabled | boolean | Whether withdrawals are enabled |
| >addressWhitelistWithdrawOnly | boolean | Whether withdrawals are restricted to whitelist addresses |
| >notice | string | Notice |
| >assets | array | Withdrawable asset list. Same structure as withdraw-assets |
| >addresses | array | Whitelist address list. Returned when includeAddresses=true |
| >chains | array | Withdrawal chain list. Same structure as withdraw-chains |
Recommended Flow
- Call
GET /deepcoin/asset/withdraw-config?ccy=USDT&includeAddresses=true. - Use
chains[].chainas thechainparameter forPOST /deepcoin/asset/withdrawal. - Use
addresses[].addressIdas the requiredaddressIdparameter. - Optionally pass
addresses[].toAddrastoAddr; the API will use it only for whitelist consistency validation. - Validate
amtwithchains[].minWdandchains[].precision. - Pass
memowhenchains[].needMemo=trueor whenaddresses[].memois not empty. - Pass one
accountTypesvalue when you need to debit an account other than the defaultfundingaccount.
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
}
]
}
]
}
}