Skip to main content

提币

提币

Create an on-chain withdrawal. API withdrawals are restricted to whitelist addresses. Call Withdraw Config first to get valid chains, amount limits, precision, memo requirements, account balances, and whitelist addresses.

Request frequency limit: 1/1s

Authentication uses the standard private REST headers described in Access Guide; no extra withdrawal-specific request headers are required.

Request URL

POST /deepcoin/asset/withdrawal

Request Parameters

Field NameRequiredTypeDescription
ccytruestringCoin, for example USDT
chaintruestringChain from withdraw-config, for example USDT-TRC20
amttruestringWithdrawal amount
addressIdtruestringWhitelist address ID
toAddrfalsestringWithdrawal address. If provided, it is only used to verify consistency with the whitelist address
memofalsestringMemo/tag/payment ID. Required when needMemo=true or when the whitelist address has a memo. If provided by the whitelist address, it must match addresses[].memo
accountTypesfalsearrayDebit account type: funding, spot, swap. Currently supports one item only. Default: funding
clientIdfalsestringClient request ID, max 32 characters
remarkfalsestringRemark

Request Example

{
"ccy": "USDT",
"chain": "USDT-TRC20",
"amt": "30",
"addressId": "574",
"toAddr": "TEV1gDkDST3kUtv27SCYfbAoz7ukLMwJdS",
"accountTypes": ["funding"],
"clientId": "withdraw_golang_example_001",
"remark": "golang example withdrawal"
}

accountTypes is the public request field used to select the debit account. Send at most one account type in a withdrawal request.

When using a whitelist address with memo, pass the same memo value in the withdrawal request.

accountTypesDebit account
fundingFunding
spotSpot
swapFutures

Response Parameters

Field NameTypeDescription
wdIdstringWithdrawal ID
clientIdstringClient request ID
ccystringCoin
chainstringChain
amtstringWithdrawal amount
feestringWithdrawal fee
statestringWithdrawal state
cTimestringCreated time

Response Example

{
"code": "0",
"msg": "",
"data": {
"wdId": "339288",
"clientId": "withdraw_golang_example_001",
"ccy": "USDT",
"chain": "USDT-TRC20",
"amt": "30",
"state": "pending",
"cTime": "1777970397179"
}
}