public class DefiControllerApi extends Object
| 构造器和说明 |
|---|
DefiControllerApi() |
DefiControllerApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
ResponseWrapperGetDefiInfo |
getDefiInfoUsingGET(String contractAddresses,
String chainId,
String authorization,
Integer timeOut)
Rug-pull Detection API Beta
|
com.squareup.okhttp.Call |
getDefiInfoUsingGETAsync(String contractAddresses,
String chainId,
String authorization,
ApiCallback<ResponseWrapperGetDefiInfo> callback)
Rug-pull Detection API Beta (asynchronously)
|
com.squareup.okhttp.Call |
getDefiInfoUsingGETCall(String contractAddresses,
String chainId,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getDefiInfoUsingGET
|
private com.squareup.okhttp.Call |
getDefiInfoUsingGETValidateBeforeCall(String contractAddresses,
String chainId,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperGetDefiInfo> |
getDefiInfoUsingGETWithHttpInfo(String contractAddresses,
String chainId,
String authorization)
Rug-pull Detection API Beta
|
void |
setApiClient(ApiClient apiClient) |
private ApiClient apiClient
public DefiControllerApi()
public DefiControllerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getDefiInfoUsingGETCall(String contractAddresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
contractAddresses - Defi protocol address (required)chainId - Chain id, (eth: 1, bsc: 56) (required)authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectprivate com.squareup.okhttp.Call getDefiInfoUsingGETValidateBeforeCall(String contractAddresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
ApiExceptionpublic ResponseWrapperGetDefiInfo getDefiInfoUsingGET(String contractAddresses, String chainId, String authorization, Integer timeOut) throws ApiException
contractAddresses - Defi protocol address (required)chainId - Chain id, (eth: 1, bsc: 56) (required)authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)timeOut - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResponseWrapperGetDefiInfo> getDefiInfoUsingGETWithHttpInfo(String contractAddresses, String chainId, String authorization) throws ApiException
contractAddresses - Defi protocol address (required)chainId - Chain id, (eth: 1, bsc: 56) (required)authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getDefiInfoUsingGETAsync(String contractAddresses, String chainId, String authorization, ApiCallback<ResponseWrapperGetDefiInfo> callback) throws ApiException
contractAddresses - Defi protocol address (required)chainId - Chain id, (eth: 1, bsc: 56) (required)authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2023. All rights reserved.