Skip to main content

Withdraw

POST

/az/spot/withdraw

Note: The parameters are placed in the body in the form of json

Note: Only on-chain withdrawal is supported. Internal transfer (toAccountId) is currently not supported; requests without an on-chain address will be rejected with "Internal transfer is not supported."

Limit Flow Rules​

1/s/apikey

Parameters​

ParameterTypeMandatoryDefaultDescriptionRanges
fromAccountstringfalseSPOTWithdrawal Account Type, Spot Account or Perpetual AccountSPOT; FUTURES_U
currencystringtrueCurrency name, which can be obtained from the 'Get the supported currencies for deposit or withdrawal' interface
chainstringtrueThe name of the transfer network, which can be obtained from the interface of 'Get the supported currencies for deposit or withdrawal' interface. Required for on-chain withdrawal.
clientOrderIdstringfalseCustom Client ID, regular:^[a-zA-Z0-9_]{4,32}$
amountnumbertrueWithdrawal amount, including handling fee
addressstringtrueWithdrawal address. Required — only on-chain withdrawal is supported; internal transfer is currently not supported.
memostringfalsememo,For EOS similar chains that require memo must be transferred
toAccountIdnumberfalseReceiving user ID. Not supported — internal transfer is currently disabled, this parameter is ignored. Only on-chain withdrawal is supported.

Request

{
"currency":"zb",
"chain":"Ethereum",
"amount":1000,
"address":"0xfa3abfa50eb2006f5be7831658b17aca240d8526",
"memo":""
}

Response

{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": {
"id": 100 //Long Withdrawal record id, used for querying withdrawal history later
}
}