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
| Parameter | Type | Mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| fromAccount | string | false | SPOT | Withdrawal Account Type, Spot Account or Perpetual Account | SPOT; FUTURES_U |
| currency | string | true | Currency name, which can be obtained from the 'Get the supported currencies for deposit or withdrawal' interface | ||
| chain | string | true | The 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. | ||
| clientOrderId | string | false | Custom Client ID, regular:^[a-zA-Z0-9_]{4,32}$ | ||
| amount | number | true | Withdrawal amount, including handling fee | ||
| address | string | true | Withdrawal address. Required — only on-chain withdrawal is supported; internal transfer is currently not supported. | ||
| memo | string | false | memo,For EOS similar chains that require memo must be transferred | ||
| toAccountId | number | false | Receiving 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
}
}