Skip to main content

Withdraw

⚠️ This endpoint is not yet available.

POST /wallet/withdraw

REQUIRE SIGN : Yes

This endpoint submit a withdraw request.

ExchangeAvailable
Binance Spot
Kraken Spot
Gate.IO Spot

Parameters

NameTypeMandatoryDescription
assetStringYESAsset to send. ex : "ETH"
networkStringYESNetwork to send. ex : "ETH"
addressStringYESAddress where you want to send the asset.
amountFloat64YESAmount you want to withdraw
tagStringNoTag (or memo) for network that support it

Request Example

curl -X POST 'https://api.exayn.com/v1/wallet/withdraw' \
-H 'X-API-KEY: <PLACE YOUR PUBLIC KEY>' \
-H 'X-API-EXCHANGE-KEY: <PLACE YOUR EXCHANGE API KEY NAME>' \
-H 'Content-Type: application/json' \
-d '{
"asset": "ETH",
"network": "ETH",
"address": "0x000000",
"amount": 0.1,
}'

Response Example

{
"id": "60c9b4b0a9b3a0004a7f7b7f",
"amount": 0.1,
"fees": 0.0001, // Nullable
"totalAmount": 0.1001,
"asset": "ETH",
"status": "completed",
"toAddress": "0x000000",
"txId": "0x000000",
"timestamp": 1623931200000,
"network": "ETH",
},