public class ApproveControllerV1Api extends Object
| 构造器和说明 |
|---|
ApproveControllerV1Api() |
ApproveControllerV1Api(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseWrapperAddressContract |
addressContractUsingGET1(String address,
String authorization,
String chainId)
Check if the address is malicious
|
com.squareup.okhttp.Call |
addressContractUsingGET1Async(String address,
String authorization,
String chainId,
ApiCallback<ResponseWrapperAddressContract> callback)
Check if the address is malicious (asynchronously)
|
com.squareup.okhttp.Call |
addressContractUsingGET1Call(String address,
String authorization,
String chainId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addressContractUsingGET1
|
private com.squareup.okhttp.Call |
addressContractUsingGET1ValidateBeforeCall(String address,
String authorization,
String chainId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperAddressContract> |
addressContractUsingGET1WithHttpInfo(String address,
String authorization,
String chainId)
Check if the address is malicious
|
ResponseWrapperContractApproveResponse |
approvalContractUsingGET(String chainId,
String contractAddresses,
String authorization)
Check if the approval is secure
|
com.squareup.okhttp.Call |
approvalContractUsingGETAsync(String chainId,
String contractAddresses,
String authorization,
ApiCallback<ResponseWrapperContractApproveResponse> callback)
Check if the approval is secure (asynchronously)
|
com.squareup.okhttp.Call |
approvalContractUsingGETCall(String chainId,
String contractAddresses,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for approvalContractUsingGET
|
private com.squareup.okhttp.Call |
approvalContractUsingGETValidateBeforeCall(String chainId,
String contractAddresses,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperContractApproveResponse> |
approvalContractUsingGETWithHttpInfo(String chainId,
String contractAddresses,
String authorization)
Check if the approval is secure
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
private ApiClient apiClient
public ApproveControllerV1Api()
public ApproveControllerV1Api(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call addressContractUsingGET1Call(String address, String authorization, String chainId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
address - address (required)authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)chainId - The chain_id of the blockchain. \"1\" means Ethereum; \"10\" means Optimism; “25” means Cronos; \"56\" means BSC; “66” means OKC; \"100\" means Gnosis; \"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom; \"321\" means KCC; \"324\" means zkSync Era; \"10001\" means ETHW; \"201022\" means FON; \"42161\" means Arbitrum; \"43114\" means Avalanche; \"59140\" means Linea; \"1666600000\" means Harmony; \"tron\" means Tron. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectprivate com.squareup.okhttp.Call addressContractUsingGET1ValidateBeforeCall(String address, String authorization, String chainId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
ApiExceptionpublic ResponseWrapperAddressContract addressContractUsingGET1(String address, String authorization, String chainId) throws ApiException
address - address (required)authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)chainId - The chain_id of the blockchain. \"1\" means Ethereum; \"10\" means Optimism; “25” means Cronos; \"56\" means BSC; “66” means OKC; \"100\" means Gnosis; \"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom; \"321\" means KCC; \"324\" means zkSync Era; \"10001\" means ETHW; \"201022\" means FON; \"42161\" means Arbitrum; \"43114\" means Avalanche; \"59140\" means Linea; \"1666600000\" means Harmony; \"tron\" means Tron. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResponseWrapperAddressContract> addressContractUsingGET1WithHttpInfo(String address, String authorization, String chainId) throws ApiException
address - address (required)authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)chainId - The chain_id of the blockchain. \"1\" means Ethereum; \"10\" means Optimism; “25” means Cronos; \"56\" means BSC; “66” means OKC; \"100\" means Gnosis; \"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom; \"321\" means KCC; \"324\" means zkSync Era; \"10001\" means ETHW; \"201022\" means FON; \"42161\" means Arbitrum; \"43114\" means Avalanche; \"59140\" means Linea; \"1666600000\" means Harmony; \"tron\" means Tron. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addressContractUsingGET1Async(String address, String authorization, String chainId, ApiCallback<ResponseWrapperAddressContract> callback) throws ApiException
address - address (required)authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)chainId - The chain_id of the blockchain. \"1\" means Ethereum; \"10\" means Optimism; “25” means Cronos; \"56\" means BSC; “66” means OKC; \"100\" means Gnosis; \"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom; \"321\" means KCC; \"324\" means zkSync Era; \"10001\" means ETHW; \"201022\" means FON; \"42161\" means Arbitrum; \"43114\" means Avalanche; \"59140\" means Linea; \"1666600000\" means Harmony; \"tron\" means Tron. (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 objectpublic com.squareup.okhttp.Call approvalContractUsingGETCall(String chainId, String contractAddresses, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
chainId - Chain id, (ETH: 1, BSC: 56, OKC: 66, Heco: 128, Polygon: 137, Fantom:250, Arbitrum: 42161, Avalanche: 43114) (required)contractAddresses - Contract needs to be detected (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 approvalContractUsingGETValidateBeforeCall(String chainId, String contractAddresses, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
ApiExceptionpublic ResponseWrapperContractApproveResponse approvalContractUsingGET(String chainId, String contractAddresses, String authorization) throws ApiException
chainId - Chain id, (ETH: 1, BSC: 56, OKC: 66, Heco: 128, Polygon: 137, Fantom:250, Arbitrum: 42161, Avalanche: 43114) (required)contractAddresses - Contract needs to be detected (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 ApiResponse<ResponseWrapperContractApproveResponse> approvalContractUsingGETWithHttpInfo(String chainId, String contractAddresses, String authorization) throws ApiException
chainId - Chain id, (ETH: 1, BSC: 56, OKC: 66, Heco: 128, Polygon: 137, Fantom:250, Arbitrum: 42161, Avalanche: 43114) (required)contractAddresses - Contract needs to be detected (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 approvalContractUsingGETAsync(String chainId, String contractAddresses, String authorization, ApiCallback<ResponseWrapperContractApproveResponse> callback) throws ApiException
chainId - Chain id, (ETH: 1, BSC: 56, OKC: 66, Heco: 128, Polygon: 137, Fantom:250, Arbitrum: 42161, Avalanche: 43114) (required)contractAddresses - Contract needs to be detected (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.