Transfer initialization request with private key

POST /1.0/client/send-sign-transaction. Accepts the following parameters:

With this request, the transfer is initialized in the departure network.

An example of a successful request (HTTP code 200):

{
   "data": { // transfer data
       "id": "c9928e0f-0db6-4bfa-96e7-30ca994beac2", // transaction ID
       "approveHash": "0x9887395a0537d84da3d8644e767555a9b524b33757de59a19cef5184c0d98ce8", // hash of token transaction confirmation (if a native token is sent - this field is empty)
       "transferHash": "0x41095a6c033d9c08da1338c5ec101ab82e2123b441b9df25df821ee14e2c8624", // hash of transfer transaction data 
       "status": "in_progress" // transaction status
   },
   "success": true // request success flag
}

Example of sent data validation error (HTTP code 400):

{
   "success": false, // request success flag
   "message": "Validation error", // error message
   "errors": [ // list of errors
       {
           "field": "id", // request field, the validation of which ended with an error
           "messages": [ // validation error messages
               "Field are required"
           ]
       }
   ]
}

Example of a common request error (HTTP code 400):

{
   "success": false, // request success flag
   "message": "Not enough balance" // error text
}

Example of server error (HTTP code 500):

{
   "success": false, // request success flag
   "message": "Internal Server Error" // error text
}

Last updated