cURL
curl --request POST \ --url https://core-api-dev.vanish.trade/withdraw/create \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "user_address": "<string>", "token_address": "<string>", "amount": "<string>", "timestamp": "<string>", "additional_sol": "<string>", "user_signature": "<string>", "withdraw_transaction": "<string>" }'
{ "tx_id": "<string>", "transaction_data": "<string>" }
Creates a user’s withdrawal transaction.
Details of the withdrawal, including the token address and the amount to be withdrawn.
The body is of type object.
object
Successful withdrawal transaction data response.
The response is of type object.