public class WalletApi extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
WalletApi.APIlistDepositsRequest |
class |
WalletApi.APIlistSubAccountBalancesRequest |
class |
WalletApi.APIlistSubAccountTransfersRequest |
class |
WalletApi.APIlistWithdrawalsRequest |
class |
WalletApi.APIlistWithdrawStatusRequest |
| Constructor and Description |
|---|
WalletApi() |
WalletApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
DepositAddress |
getDepositAddress(String currency)
Generate currency deposit address
|
okhttp3.Call |
getDepositAddressAsync(String currency,
ApiCallback<DepositAddress> _callback)
Generate currency deposit address (asynchronously)
|
okhttp3.Call |
getDepositAddressCall(String currency,
ApiCallback _callback)
Build call for getDepositAddress
|
ApiResponse<DepositAddress> |
getDepositAddressWithHttpInfo(String currency)
Generate currency deposit address
|
TradeFee |
getTradeFee()
Retrieve personal trading fee
|
okhttp3.Call |
getTradeFeeAsync(ApiCallback<TradeFee> _callback)
Retrieve personal trading fee (asynchronously)
|
okhttp3.Call |
getTradeFeeCall(ApiCallback _callback)
Build call for getTradeFee
|
ApiResponse<TradeFee> |
getTradeFeeWithHttpInfo()
Retrieve personal trading fee
|
WalletApi.APIlistDepositsRequest |
listDeposits()
Retrieve deposit records
Record time range cannot exceed 30 days
|
WalletApi.APIlistSubAccountBalancesRequest |
listSubAccountBalances()
Retrieve sub account balances
|
WalletApi.APIlistSubAccountTransfersRequest |
listSubAccountTransfers()
Transfer records between main and sub accounts
Record time range cannot exceed 30 days > Note: only records after 2020-04-10 can be retrieved
|
WalletApi.APIlistWithdrawalsRequest |
listWithdrawals()
Retrieve withdrawal records
Record time range cannot exceed 30 days
|
WalletApi.APIlistWithdrawStatusRequest |
listWithdrawStatus()
Retrieve withdrawal status
|
void |
setApiClient(ApiClient apiClient) |
void |
transfer(Transfer transfer)
Transfer between trading accounts
Transfer between different accounts.
|
okhttp3.Call |
transferAsync(Transfer transfer,
ApiCallback<Void> _callback)
Transfer between trading accounts (asynchronously)
Transfer between different accounts.
|
okhttp3.Call |
transferCall(Transfer transfer,
ApiCallback _callback)
Build call for transfer
|
ApiResponse<Void> |
transferWithHttpInfo(Transfer transfer)
Transfer between trading accounts
Transfer between different accounts.
|
void |
transferWithSubAccount(SubAccountTransfer subAccountTransfer)
Transfer between main and sub accounts
Support transferring with sub user's spot or futures account.
|
okhttp3.Call |
transferWithSubAccountAsync(SubAccountTransfer subAccountTransfer,
ApiCallback<Void> _callback)
Transfer between main and sub accounts (asynchronously)
Support transferring with sub user's spot or futures account.
|
okhttp3.Call |
transferWithSubAccountCall(SubAccountTransfer subAccountTransfer,
ApiCallback _callback)
Build call for transferWithSubAccount
|
ApiResponse<Void> |
transferWithSubAccountWithHttpInfo(SubAccountTransfer subAccountTransfer)
Transfer between main and sub accounts
Support transferring with sub user's spot or futures account.
|
public WalletApi()
public WalletApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getDepositAddressCall(String currency, ApiCallback _callback) throws ApiException
currency - Currency name (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Address successfully generated | - |
public DepositAddress getDepositAddress(String currency) throws ApiException
currency - Currency name (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Address successfully generated | - |
public ApiResponse<DepositAddress> getDepositAddressWithHttpInfo(String currency) throws ApiException
currency - Currency name (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Address successfully generated | - |
public okhttp3.Call getDepositAddressAsync(String currency, ApiCallback<DepositAddress> _callback) throws ApiException
currency - Currency name (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Address successfully generated | - |
public WalletApi.APIlistWithdrawalsRequest listWithdrawals()
| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public WalletApi.APIlistDepositsRequest listDeposits()
| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call transferCall(Transfer transfer, ApiCallback _callback) throws ApiException
transfer - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | Balance transferred | - |
public void transfer(Transfer transfer) throws ApiException
transfer - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | Balance transferred | - |
public ApiResponse<Void> transferWithHttpInfo(Transfer transfer) throws ApiException
transfer - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | Balance transferred | - |
public okhttp3.Call transferAsync(Transfer transfer, ApiCallback<Void> _callback) throws ApiException
transfer - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 204 | Balance transferred | - |
public WalletApi.APIlistSubAccountTransfersRequest listSubAccountTransfers()
| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call transferWithSubAccountCall(SubAccountTransfer subAccountTransfer, ApiCallback _callback) throws ApiException
subAccountTransfer - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | Balance transferred | - |
public void transferWithSubAccount(SubAccountTransfer subAccountTransfer) throws ApiException
subAccountTransfer - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | Balance transferred | - |
public ApiResponse<Void> transferWithSubAccountWithHttpInfo(SubAccountTransfer subAccountTransfer) throws ApiException
subAccountTransfer - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | Balance transferred | - |
public okhttp3.Call transferWithSubAccountAsync(SubAccountTransfer subAccountTransfer, ApiCallback<Void> _callback) throws ApiException
subAccountTransfer - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 204 | Balance transferred | - |
public WalletApi.APIlistWithdrawStatusRequest listWithdrawStatus()
| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public WalletApi.APIlistSubAccountBalancesRequest listSubAccountBalances()
| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call getTradeFeeCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public TradeFee getTradeFee() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public ApiResponse<TradeFee> getTradeFeeWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public okhttp3.Call getTradeFeeAsync(ApiCallback<TradeFee> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
Copyright © 2021. All rights reserved.