Endpoints
Withdraw (Auto)
This API is used to make automatic withdraw to external address. Make sure you follow below instructions otherwise it will not work.
POST
Instructions
Source Code
- Download script from here
Required Stuff
- Linux Server
- Node JS (v18.19.1 or later)
Setup
- Open config.json file and replace mnemonic, apiKey, encKey.
- Execute pair.js file using:
node pair.js
. It will install required packages. - Next you need to start crypto.ts on your server.
Authentication
A JWT token required for API authentication. Generate JWT token as explained in section Generate JWT Token using empty string.
Headers
Must be set to application/json
.
Request Body
Assets Currency id.
Provide amount for transaction.
The external address where funds will be sent.
Response
Returns a success message upon successful request.
Success message for the withdrawal request.