public class DepositAPIAdapter extends AuthRetrofitAPIImpl<DepositAPIRetrofit> implements DepositAPI
apiKey, apiKeyVersion, baseUrl, passPhrase, secret| 构造器和说明 |
|---|
DepositAPIAdapter(String baseUrl,
String apiKey,
String secret,
String passPhrase,
Integer apiKeyVersion) |
| 限定符和类型 | 方法和说明 |
|---|---|
DepositAddressResponse |
createDepositAddress(String currency,
String chain)
Create deposit address of currency for deposit.
|
DepositAddressResponse |
getDepositAddress(String currency,
String chain)
Get deposit address of currency for deposit.
|
List<DepositAddressResponse> |
getDepositAddresses(String currency)
Get all deposit addresses for the currency you intend to deposit.
|
Pagination<DepositResponse> |
getDepositPageList(String currency,
long startAt,
long endAt,
String status,
int currentPage,
int pageSize)
Get deposit page list.
|
Pagination<DepositResponse> |
getHistDepositPageList(String currency,
String status,
long startAt,
long endAt,
int currentPage,
int pageSize)
Request via this endpoint to get the V1 historical deposits list on KuCoin.
|
getAPIImplexecuteSync, getApiKey, getBaseUrl, getErrorResponse, getPassPhrase, getSecret, setApiKey, setBaseUrl, setPassPhrase, setSecretpublic DepositAddressResponse createDepositAddress(String currency, String chain) throws IOException
DepositAPIcreateDepositAddress 在接口中 DepositAPIcurrency - the code of the currencychain - the chain name of currencyIOExceptionpublic DepositAddressResponse getDepositAddress(String currency, String chain) throws IOException
DepositAPIgetDepositAddress 在接口中 DepositAPIcurrency - the code of the currencyIOExceptionpublic Pagination<DepositResponse> getDepositPageList(String currency, long startAt, long endAt, String status, int currentPage, int pageSize) throws IOException
DepositAPIgetDepositPageList 在接口中 DepositAPIcurrency - CurrencystartAt - 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.status - Status. Available value: PROCESSING, SUCCESS, and FAILUREIOExceptionpublic List<DepositAddressResponse> getDepositAddresses(String currency) throws IOException
DepositAPIgetDepositAddresses 在接口中 DepositAPIcurrency - the code of the currencyIOExceptionpublic Pagination<DepositResponse> getHistDepositPageList(String currency, String status, long startAt, long endAt, int currentPage, int pageSize) throws IOException
DepositAPIgetHistDepositPageList 在接口中 DepositAPIcurrency - [Optional] Currencystatus - [Optional] Status. Available value: 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.IOExceptionCopyright © 2023. All rights reserved.