Link

Create withdraw ETH with payload

  1. Choose the portfolio wallet you want to withdraw from by using get accounts API. Remember portfolioId for chosen account.

  2. Choose withdraw target:
    1. You can fill it by using toAddress
    2. Or use already saved cryptoAddress from get crypto addresses API
  3. Create order using create order API with these parameters:
    1. For unknown/external address:

       + POST /platform/orders
      
       + Request (application/json)
         {
           "externalOrderId": "F7FCCFD3-B61B-4467-B456-B0FC27CE4494",     // any client generated uniq ID (timestamp or UUID for example)
           "orderType": "withdraw",
           "baseCurrency": "ETH",
           "mainCurrency": "ETH",
           "amount": "0",
           "portfolioId": "46",
           "toAddress": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",      // destination wallet address,
           "payload": "0x7ff36ab50000000000000000000000000000000000000000000000011f36d51e6b78ff1100000000000000000000000000000000000000000000000000000000000000800000000000000000000000001a75344addadcdecce4fbf859caa7ef9d9299f78000000000000000000000000000000000000000000000000000000005fb2ad0a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef",       // optional
           "feeLevel": "low",      // `low`, `medium`, `high`. Optional, by default: low
           "includeFeeInWithdraw": false 
         }
      
    2. For saved crypto address (whitelist):

       + POST /platform/orders
      
       + Request (application/json)
         {
           "externalOrderId": "F7FCCFD3-B61B-4467-B456-B0FC27CE4494",     // any client generated uniq ID (timestamp or UUID for example)
           "orderType": "withdraw",
           "baseCurrency": "ETH",
           "mainCurrency": "ETH",
           "amount": "0",
           "payload": "0x7ff36ab50000000000000000000000000000000000000000000000011f36d51e6b78ff1100000000000000000000000000000000000000000000000000000000000000800000000000000000000000001a75344addadcdecce4fbf859caa7ef9d9299f78000000000000000000000000000000000000000000000000000000005fb2ad0a0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef",       // optional
           "feeLevel": "low",      // `low`, `medium`, `high`. Optional, by default: low
           "includeFeeInWithdraw": false, 
           "toCryptoAddressId": "cbc328f5-85de-4c2d-a0b9-65a0c7f81b72"      // destination cryptoAddressId,
         }