public interface WithdrawalAPIRetrofit
| 限定符和类型 | 方法和说明 |
|---|---|
retrofit2.Call<KucoinResponse<WithdrawApplyResponse>> |
applyWithdraw(WithdrawApplyRequest request) |
retrofit2.Call<KucoinResponse<Void>> |
cancelWithdraw(String withdrawalId) |
retrofit2.Call<KucoinResponse<Pagination<WithdrawResponse>>> |
getHistWithdrawPageList(int currentPage,
int pageSize,
String currency,
String status,
Long startAt,
Long endAt) |
retrofit2.Call<KucoinResponse<Pagination<WithdrawResponse>>> |
getWithdrawPageList(int currentPage,
int pageSize,
String currency,
String status,
Long startAt,
Long endAt) |
retrofit2.Call<KucoinResponse<WithdrawQuotaResponse>> |
getWithdrawQuotas(String currency,
String chain) |
@GET(value="api/v1/withdrawals/quotas") retrofit2.Call<KucoinResponse<WithdrawQuotaResponse>> getWithdrawQuotas(@Query(value="currency") String currency, @Query(value="chain") String chain)
@POST(value="api/v1/withdrawals") retrofit2.Call<KucoinResponse<WithdrawApplyResponse>> applyWithdraw(@Body WithdrawApplyRequest request)
@DELETE(value="api/v1/withdrawals/{withdrawalId}")
retrofit2.Call<KucoinResponse<Void>> cancelWithdraw(@Path(value="withdrawalId")
String withdrawalId)
@GET(value="api/v1/withdrawals") retrofit2.Call<KucoinResponse<Pagination<WithdrawResponse>>> getWithdrawPageList(@Query(value="currentPage") int currentPage, @Query(value="pageSize") int pageSize, @Query(value="currency") String currency, @Query(value="status") String status, @Query(value="startAt") Long startAt, @Query(value="endAt") Long endAt)
@GET(value="api/v1/hist-withdrawals") retrofit2.Call<KucoinResponse<Pagination<WithdrawResponse>>> getHistWithdrawPageList(@Query(value="currentPage") int currentPage, @Query(value="pageSize") int pageSize, @Query(value="currency") String currency, @Query(value="status") String status, @Query(value="startAt") Long startAt, @Query(value="endAt") Long endAt)
Copyright © 2023. All rights reserved.