ExchangeAccount
| Parameter | Type | Description |
|---|---|---|
| id | string | The ID of the exchange account to return |
| type | ExchangeType | |
| name | string | Display name of the exchange account |
| status | ConfigChangeRequestStatus | Status of the exchange account connection |
| assets | Array of ExchangeAsset | Assets in the account |
| isSubaccount | boolean | True if the account is a subaccount in an exchange |
| mainAccountId | string | The of the exchange main account |
| tradingAccounts | Array of TradingAccount | Trading accounts under this exchange account |
| fundableAccountType | TradingAccountType | The internal account that is used for deposits or withdrawals of this exchange's main or subaccount |
ExchangeAsset
| Parameter | Type | Description |
|---|---|---|
| id | string | The ID of the exchange account to return |
| total | string | The total balance of the asset in the exchange account |
| available | string | The balance that can be withdrawn from the exchange account or moved to a different account |
| lockedAmount | string | Locked amount in the account |
| balance | string | Deprecated - replaced by "total" |
ExchangeType
| Parameter | Type | Description |
|---|---|---|
| type | string | [BINANCE, BINANCEUS, BITFINEX, BITHUMB, BITMEX, BITSO, BITSTAMP, BITTREX, BYBIT, CIRCLE, COINBASEEXCHANGE, COINBASEPRO, COINMETRO, COINSPRO, CRYPTOCOM, DERIBIT, GATE, GEMINI, HITBTC, HUOBI, IR, KORBIT, KRAKEN, KRAKENINTL, LIQUID, POLONIEX, OKCOIN, OKEX, SEEDCX] |
Notes
- The
BINANCEUSvalue should be used only by Binance.us customers.- The
KRAKENINTLvalue should be used only by non-US Kraken customers.
TradingAccount
| Parameter | Type | Description |
|---|---|---|
| type | TradingAccountType | The specific trading account under the exchange account |
| assets | Array of ExchangeAsset | Assets in the trading account |
TradingAccountType
| Parameter | Type | Description |
|---|---|---|
| type | string | [SPOT, FUTURES, MARGIN, FUNDING, OPTIONS, EXCHANGE, COIN_MARGINED_SWAP, USDT_FUTURES, COIN_FUTURES, USDT_ISOLATED_MARGINED_SWAP, USDT_MARGINED_SWAP_CROSS, FUNDABLE, UNIFIED] |
