public class TokenControllerV1Api extends Object
| 构造器和说明 |
|---|
TokenControllerV1Api() |
TokenControllerV1Api(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
ResponseWrapperListGetChainsList |
getChainsListUsingGET(String authorization,
String name,
Integer timeOut)
Get the list of chains supported by different functions.
|
com.squareup.okhttp.Call |
getChainsListUsingGETAsync(String authorization,
String name,
ApiCallback<ResponseWrapperListGetChainsList> callback)
Get the list of chains supported by different functions.
|
com.squareup.okhttp.Call |
getChainsListUsingGETCall(String authorization,
String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getChainsListUsingGET
|
private com.squareup.okhttp.Call |
getChainsListUsingGETValidateBeforeCall(String authorization,
String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperListGetChainsList> |
getChainsListUsingGETWithHttpInfo(String authorization,
String name)
Get the list of chains supported by different functions.
|
void |
setApiClient(ApiClient apiClient) |
ResponseWrapperTokenSecurity |
tokenSecurityUsingGET1(String chainId,
String contractAddresses,
String authorization,
Integer timeOut)
Get token's security and risk data.
|
com.squareup.okhttp.Call |
tokenSecurityUsingGET1Async(String chainId,
String contractAddresses,
String authorization,
ApiCallback<ResponseWrapperTokenSecurity> callback)
Get token's security and risk data.
|
com.squareup.okhttp.Call |
tokenSecurityUsingGET1Call(String chainId,
String contractAddresses,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for tokenSecurityUsingGET1
|
private com.squareup.okhttp.Call |
tokenSecurityUsingGET1ValidateBeforeCall(String chainId,
String contractAddresses,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperTokenSecurity> |
tokenSecurityUsingGET1WithHttpInfo(String chainId,
String contractAddresses,
String authorization)
Get token's security and risk data.
|
private ApiClient apiClient
public TokenControllerV1Api()
public TokenControllerV1Api(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getChainsListUsingGETCall(String authorization, String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)name - API name. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectprivate com.squareup.okhttp.Call getChainsListUsingGETValidateBeforeCall(String authorization, String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
ApiExceptionpublic ResponseWrapperListGetChainsList getChainsListUsingGET(String authorization, String name, Integer timeOut) throws ApiException
authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)name - API name. (optional)timeOut - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResponseWrapperListGetChainsList> getChainsListUsingGETWithHttpInfo(String authorization, String name) throws ApiException
authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)name - API name. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getChainsListUsingGETAsync(String authorization, String name, ApiCallback<ResponseWrapperListGetChainsList> callback) throws ApiException
authorization - Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)name - API name. (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 tokenSecurityUsingGET1Call(String chainId, String contractAddresses, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
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. (required)contractAddresses - The contract address of tokens. (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 tokenSecurityUsingGET1ValidateBeforeCall(String chainId, String contractAddresses, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
ApiExceptionpublic ResponseWrapperTokenSecurity tokenSecurityUsingGET1(String chainId, String contractAddresses, String authorization, Integer timeOut) throws ApiException
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. (required)contractAddresses - The contract address of tokens. (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<ResponseWrapperTokenSecurity> tokenSecurityUsingGET1WithHttpInfo(String chainId, String contractAddresses, String authorization) throws ApiException
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. (required)contractAddresses - The contract address of tokens. (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 tokenSecurityUsingGET1Async(String chainId, String contractAddresses, String authorization, ApiCallback<ResponseWrapperTokenSecurity> callback) throws ApiException
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. (required)contractAddresses - The contract address of tokens. (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.