public class TokenControllerV1Api extends Object
| 构造器和说明 |
|---|
TokenControllerV1Api() |
TokenControllerV1Api(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
ResponseWrapperListGetChainsList |
getChainsListUsingGET(String authorization,
String name)
Get the list of chains supported by different functions.
|
okhttp3.Call |
getChainsListUsingGETAsync(String authorization,
String name,
ApiCallback<ResponseWrapperListGetChainsList> callback)
Get the list of chains supported by different functions.
|
okhttp3.Call |
getChainsListUsingGETCall(String authorization,
String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getChainsListUsingGET
|
private okhttp3.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)
Get token's security and risk data.
|
okhttp3.Call |
tokenSecurityUsingGET1Async(String chainId,
String contractAddresses,
String authorization,
ApiCallback<ResponseWrapperTokenSecurity> callback)
Get token's security and risk data.
|
okhttp3.Call |
tokenSecurityUsingGET1Call(String chainId,
String contractAddresses,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for tokenSecurityUsingGET1
|
private okhttp3.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 okhttp3.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 okhttp3.Call getChainsListUsingGETValidateBeforeCall(String authorization, String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
ApiExceptionpublic ResponseWrapperListGetChainsList getChainsListUsingGET(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 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 okhttp3.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 okhttp3.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; \"59144\" means Linea Mainnet; \"8453\" Base; \"tron\" means Tron; \"534352\" means Scroll; \"204\" means opBNB; (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 okhttp3.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) 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; \"59144\" means Linea Mainnet; \"8453\" Base; \"tron\" means Tron; \"534352\" means Scroll; \"204\" means opBNB; (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 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; \"59144\" means Linea Mainnet; \"8453\" Base; \"tron\" means Tron; \"534352\" means Scroll; \"204\" means opBNB; (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 okhttp3.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; \"59144\" means Linea Mainnet; \"8453\" Base; \"tron\" means Tron; \"534352\" means Scroll; \"204\" means opBNB; (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 © 2024. All rights reserved.