Portfolio

Deposit

Create Deposit

POST https://dex-nodejs-bot-jbrvr.ondigitalocean.app/portfolio/deposit

Creates a new deposit

Request Body

{
    "message": "success"
}
curl  -X "POST"
    https://dex-nodejs-bot-jbrvr.ondigitalocean.app/portfolio/deposit
    -d from='0xd7151350B7C97E6B53e800dc3b629A00306Ab9B5'  
    -d symbol='ETH'  
    -d quantity='2.4'
    -d privateKey='0x*****************************'
    -d chainId='421611' 

Withdraw

Create Withdraw

POST https://dex-nodejs-bot-jbrvr.ondigitalocean.app/portfolio/withdraw

Creates a new withdraw

Request Body

{
    "message": "success"
}
curl  -X "POST"
    https://dex-nodejs-bot-jbrvr.ondigitalocean.app/portfolio/withdraw
    -d from='0xd7151350B7C97E6B53e800dc3b629A00306Ab9B5'  
    -d symbol='ETH'  
    -d quantity='2.4'
    -d privateKey='0x*****************************'
    -d chainId='421611' 

Deposit Histories

Get Deposit Histories

GET https://dex-nodejs-bot-jbrvr.ondigitalocean.app/portfolio/depositHistories

Path Parameters

{
    "deposits": [
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0x115ce81b62d1b87f6346237551ca38e728fca8c9f41740f26a82e3ff4bdd72be',
      name: 'Tether USD',
      symbol: 'USDT',
      type: 'Deposit',
      amount: '100000.0',
      status: 'Completed',
      time: '26-05-2022 | 11:55'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0x1cbd2b762d14e966ee6c1910ef225befc179bac9eccfd4efed2ccab23b9b24d7',
      name: 'Enjine',
      symbol: 'ENJ',
      type: 'Deposit',
      amount: '100.0',
      status: 'Completed',
      time: '18-05-2022 | 23:29'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0x1fa9e21b70eea106d4c1e45ad1af2e1fc44eb94ae279a60dab8e2f55b642341e',
      name: 'Tether USD',
      symbol: 'USDT',
      type: 'Deposit',
      amount: '100000.0',
      status: 'Completed',
      time: '25-05-2022 | 16:37'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0x2268255b2f57ff1411a0617debdebc6f94cd02a1b5bf217823bf38b351a82653',
      name: 'Enjine',
      symbol: 'ENJ',
      type: 'Deposit',
      amount: '1000.0',
      status: 'Completed',
      time: '24-05-2022 | 00:28'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0x2ef1f6c0e8de34c4f631399f9f41c82232988c0c982492a4999d3e6040cc9820',
      name: 'Tether USD',
      symbol: 'USDT',
      type: 'Deposit',
      amount: '1000.0',
      status: 'Completed',
      time: '24-05-2022 | 00:29'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0x4568970584e9df2a7f7acabdd21fe064d87b950d164b69253299d1c4d19b19b8',
      name: 'Ethereum',
      symbol: 'ETH',
      type: 'Deposit',
      amount: '2.5',
      status: 'Completed',
      time: '24-05-2022 | 22:36'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0x4af771c959b60ee5bcc0e855f111c9bdd4756083e4b9ff2d2b83d2f28e17f85f',
      name: 'Enjine',
      symbol: 'ENJ',
      type: 'Deposit',
      amount: '1000.0',
      status: 'Completed',
      time: '23-05-2022 | 15:02'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0x57d3f2c30d4bec195581f25daa9fd05fc9f5563fcecefd7dcf80629231b10947',
      name: 'Tether USD',
      symbol: 'USDT',
      type: 'Deposit',
      amount: '100000.0',
      status: 'Completed',
      time: '25-05-2022 | 16:36'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0x634febc6c38f2b5bf7d38841fae5be4d97de26a4df321dadf5473ac7bb24d0bc',
      name: 'Polygon',
      symbol: 'MATIC',
      type: 'Deposit',
      amount: '1000.0',
      status: 'Completed',
      time: '19-05-2022 | 01:03'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0x87df7ca6f431e7d5afba742a32f87e7f24f2db16750f4dd3d9f88b240d21d39c',
      name: 'Tether USD',
      symbol: 'USDT',
      type: 'Deposit',
      amount: '100000.0',
      status: 'Completed',
      time: '26-05-2022 | 11:54'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0x8a9ccb2074affc22a4431593f2488581a6c03f087491b3ca5d57664cfbfb0d79',
      name: 'Ethereum',
      symbol: 'ETH',
      type: 'Deposit',
      amount: '1000.0',
      status: 'Completed',
      time: '23-05-2022 | 15:02'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0xb0fab1a6f61685572b341e1e77e5a6fba5e1f2ea48c65c3e340fd378b4fbf99d',
      name: 'Enjine',
      symbol: 'ENJ',
      type: 'Deposit',
      amount: '1000.0',
      status: 'Completed',
      time: '23-05-2022 | 15:00'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0xb30afa293b27645e7eb47cdd6d5e5f1f21518fd3ec7128934039213f40ae5d60',
      name: 'The Graph',
      symbol: 'GRT',
      type: 'Deposit',
      amount: '1000.0',
      status: 'Completed',
      time: '19-05-2022 | 01:02'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0xd1612a71cb762c635767772f001fac589691a540c6440d69a8b87704888d6f3a',
      name: 'Tether USD',
      symbol: 'USDT',
      type: 'Deposit',
      amount: '100.0',
      status: 'Completed',
      time: '18-05-2022 | 20:35'
    },
    {
      address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
      txId: '0xf460b6bf5edc43c7df5f6c5fca1c657549387e7a302c8f4208c6f8e240ef5639',
      name: 'Tether USD',
      symbol: 'USDT',
      type: 'Deposit',
      amount: '10000.0',
      status: 'Completed',
      time: '26-05-2022 | 12:00'
    }
  ]
}
curl  -X "GET"
    "https://dex-nodejs-bot-jbrvr.ondigitalocean.app/portfolio/depositHistories?account=0xd7151350B7C97E6B53e800dc3b629A00306Ab9B5&chainId=421611"

Withdraw Histories

Get Withdraw Histories

GET https://api.myapi.com/v1/portfolio/withdrawHistories

Path Parameters

{
  "withdraws": [
    {
        address: '0x0a52C4Cd73157bcfDD4a7c570106016db2749B05',
        txId: '0x59e8a5cc5c6c5c875f62deb660de96eaf86a7440d8a06a77a7fddec5bb9e24a5',
        name: 'Ethereum',
        symbol: 'ETH',
        type: 'Withdraw',
        amount: '2.5',
        status: 'Completed',
        time: '24-05-2022 | 22:43'
    }
  ]
}
curl  -X "GET"
    "https://api.dexpools.com/v1/portfolio/withdrawHistories?account=0xd7151350B7C97E6B53e800dc3b629A00306Ab9B5&chainId=421611"

Last updated