POST
/
withdraw
/
create
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>"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Details of the withdrawal, including the token address and the amount to be withdrawn.

The body is of type object.

Response

200
application/json

Successful withdrawal transaction data response.

The response is of type object.