Discussions

Ask a Question
Back to All

Sub Wallet creation


The API URL for creating a sub-wallet is located at https://sandbox-api.oneliquidity.technology/wallets/v1/sub. When making a request, ensure to include the following parameters in the request body:

{  
  "currency": "BTC",  
  "uid": "123456"  
}

This setup works well for Bitcoin (BTC). However, it might not be sufficient for currencies like Ethereum (ETH), Tether (USDT), or Binance USD (BUSD) due to their multiple network support.

In my view, to accommodate multiple networks, the request body should include a "network" parameter specifying the desired network for the sub-wallet. Unless such functionality already exists, it would be beneficial for users if the API incorporates this feature.