Create a Withdraw Request

/sapi/v1/sunperp/dw/withdraw/apply

Request type: POST

Signature verification: Yes

Interface permission: Withdraw

Rate Limit: Generally, the private interface rate limit of API key is at most 144 times every 3 seconds for each UID (Trade Interface: at most 72 times every 3 seconds. Read Interface: at most 72 times every 3 seconds) (this rate limit is shared by all the altcoins contracts delivered by different date).

Interface description: Initiate a withdrawal request

Request Address

Environment
Address

Online (preferred by aws customers)

Request Parameter

Parameter
Data Type
Required
Description
Value Range

address

string

true

Withdrawal address

should be the deposit address

currency

string

true

Currency

e.g. usdt

chain

string

true

Chain

e.g. trc20usdt

amount

string

true

Withdrawal amount

fee

string

true

Withdrawal fee

For trc20usdt, this value should be 0

Response Parameter

Parameter
Data Type
Required
Description
Value Range

status

string

true

Response state

"ok" or "error"

error-code

string

false

Error code

error-msg

string

false

Error message

<data>

object

true

nonce

string

true

The backend generates a random number. This number is unique to the user and is used to label the withdrawal request.

32-bit string, format in [0-9a-zA-Z]

content

string

true

The original text that requires the user's signature, the content is to serialize after adding the nonce parameter to the input parameters.

expired-at

long

true

Nonce expiration timestamp, current time + 120 seconds

</data>

false

Note:

  • Should input 'CLOUD-EXCHANGE: 6X2K9L4V1C' in the request header

  • API signature does not include the "/sapi/v1" part for url paths, only the "/sunperp/dw/xxx" is considered.

Request Example

Response Example

Last updated