public class WithdrawalAPIAdapter extends AuthRetrofitAPIImpl<WithdrawalAPIRetrofit> implements WithdrawalAPI
apiKey, apiKeyVersion, baseUrl, passPhrase, secret| 构造器和说明 |
|---|
WithdrawalAPIAdapter(String baseUrl,
String apiKey,
String secret,
String passPhrase,
Integer apiKeyVersion) |
| 限定符和类型 | 方法和说明 |
|---|---|
WithdrawApplyResponse |
applyWithdraw(WithdrawApplyRequest request)
apply withdraw
|
void |
cancelWithdraw(String withdrawalId)
Only withdrawals in processing status could be cancelled.
|
Pagination<WithdrawResponse> |
getHistWithdrawPageList(String currency,
String status,
long startAt,
long endAt,
int currentPage,
int pageSize)
List of KuCoin V1 historical withdrawals.
|
Pagination<WithdrawResponse> |
getWithdrawList(String currency,
String status,
long startAt,
long endAt,
int currentPage,
int pageSize)
check withdrawals list
|
WithdrawQuotaResponse |
getWithdrawQuotas(String currency,
String chain)
get withdrawal quotas
|
getAPIImplexecuteSync, getApiKey, getBaseUrl, getErrorResponse, getPassPhrase, getSecret, setApiKey, setBaseUrl, setPassPhrase, setSecretpublic WithdrawQuotaResponse getWithdrawQuotas(String currency, String chain) throws IOException
WithdrawalAPIgetWithdrawQuotas 在接口中 WithdrawalAPIcurrency - currency. e.g. BTCIOExceptionpublic WithdrawApplyResponse applyWithdraw(WithdrawApplyRequest request) throws IOException
WithdrawalAPIapplyWithdraw 在接口中 WithdrawalAPIIOExceptionpublic void cancelWithdraw(String withdrawalId) throws IOException
WithdrawalAPIcancelWithdraw 在接口中 WithdrawalAPIwithdrawalId - unique identity for withdrawal orderIOExceptionpublic Pagination<WithdrawResponse> getWithdrawList(String currency, String status, long startAt, long endAt, int currentPage, int pageSize) throws IOException
WithdrawalAPIgetWithdrawList 在接口中 WithdrawalAPIcurrency - Currency codestatus - Status. Available value: PROCESSING, WALLET_PROCESSING, SUCCESS, and FAILUREstartAt - Start time. unix timestamp calculated in milliseconds, the creation time queried shall posterior to the start time.endAt - End time. unix timestamp calculated in milliseconds, the creation time queried shall prior to the end time.IOExceptionpublic Pagination<WithdrawResponse> getHistWithdrawPageList(String currency, String status, long startAt, long endAt, int currentPage, int pageSize) throws IOException
WithdrawalAPIgetHistWithdrawPageList 在接口中 WithdrawalAPIcurrency - [Optional] Currency codestatus - [Optional] Status. Available value: PROCESSING, WALLET_PROCESSING, SUCCESS, and FAILUREstartAt - [Optional] Start time. unix timestamp calculated in milliseconds, the creation time queried shall posterior to the start time.endAt - [Optional] End time. unix timestamp calculated in milliseconds, the creation time queried shall prior to the end time.currentPage - [Optional]pageSize - [Optional]IOExceptionCopyright © 2023. All rights reserved.