Exchanges
Use the Exchanges API to connect centralized exchanges and move assets between your IBM Digital Asset Haven wallets and your exchange accounts. After connecting an exchange, you can view balances, deposit assets to an exchange, and withdraw assets back to a IBM Digital Asset Haven wallet.
- 1. Connect an exchange
- Provide your exchange API credentials to establish a connection.
POST /exchanges: Create Exchange
- 2. List accounts and assets
- Retrieve available accounts and view balances on your connected exchange.
GET /exchanges/{exchangeId}/accounts: List Accounts
GET /exchanges/{exchangeId}/accounts/{accountId}/assets: List Account Assets
- 3. Deposit to the exchange
- Transfer assets from IBM Digital Asset Haven wallet to your exchange account.
POST /exchanges/{exchangeId}/accounts/{accountId}/deposits: Create Exchange Deposit
- 4. Withdraw from the exchange
- Transfer assets from your exchange account to IBM Digital Asset Haven wallet.
POST /exchanges/{exchangeId}/accounts/{accountId}/withdrawals: Create Exchange Withdrawal