Package io.gopluslabs.client.api
Class TokenControllerV1Api
- java.lang.Object
-
- io.gopluslabs.client.api.TokenControllerV1Api
-
public class TokenControllerV1Api extends Object
-
-
Constructor Summary
Constructors Constructor Description TokenControllerV1Api()TokenControllerV1Api(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()ResponseWrapperListGetChainsListgetChainsListUsingGET(String authorization, String name)Get the list of chains supported by different functions.com.squareup.okhttp.CallgetChainsListUsingGETAsync(String authorization, String name, ApiCallback<ResponseWrapperListGetChainsList> callback)Get the list of chains supported by different functions.com.squareup.okhttp.CallgetChainsListUsingGETCall(String authorization, String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getChainsListUsingGETprivate com.squareup.okhttp.CallgetChainsListUsingGETValidateBeforeCall(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.voidsetApiClient(ApiClient apiClient)ResponseWrapperTokenSecuritytokenSecurityUsingGET1(String chainId, String contractAddresses, String authorization)Get token's security and risk data.com.squareup.okhttp.CalltokenSecurityUsingGET1Async(String chainId, String contractAddresses, String authorization, ApiCallback<ResponseWrapperTokenSecurity> callback)Get token's security and risk data.com.squareup.okhttp.CalltokenSecurityUsingGET1Call(String chainId, String contractAddresses, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for tokenSecurityUsingGET1private com.squareup.okhttp.CalltokenSecurityUsingGET1ValidateBeforeCall(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.
-
-
-
Field Detail
-
apiClient
private ApiClient apiClient
-
-
Constructor Detail
-
TokenControllerV1Api
public TokenControllerV1Api()
-
TokenControllerV1Api
public TokenControllerV1Api(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getChainsListUsingGETCall
public com.squareup.okhttp.Call getChainsListUsingGETCall(String authorization, String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getChainsListUsingGET- Parameters:
authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)name- API name. (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getChainsListUsingGETValidateBeforeCall
private com.squareup.okhttp.Call getChainsListUsingGETValidateBeforeCall(String authorization, String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
- Throws:
ApiException
-
getChainsListUsingGET
public ResponseWrapperListGetChainsList getChainsListUsingGET(String authorization, String name) throws ApiException
Get the list of chains supported by different functions.- Parameters:
authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)name- API name. (optional)- Returns:
- ResponseWrapperListGetChainsList
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getChainsListUsingGETWithHttpInfo
public ApiResponse<ResponseWrapperListGetChainsList> getChainsListUsingGETWithHttpInfo(String authorization, String name) throws ApiException
Get the list of chains supported by different functions.- Parameters:
authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)name- API name. (optional)- Returns:
- ApiResponse<ResponseWrapperListGetChainsList>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getChainsListUsingGETAsync
public com.squareup.okhttp.Call getChainsListUsingGETAsync(String authorization, String name, ApiCallback<ResponseWrapperListGetChainsList> callback) throws ApiException
Get the list of chains supported by different functions. (asynchronously)- Parameters:
authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)name- API name. (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
tokenSecurityUsingGET1Call
public com.squareup.okhttp.Call tokenSecurityUsingGET1Call(String chainId, String contractAddresses, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for tokenSecurityUsingGET1- Parameters:
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 listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
tokenSecurityUsingGET1ValidateBeforeCall
private com.squareup.okhttp.Call tokenSecurityUsingGET1ValidateBeforeCall(String chainId, String contractAddresses, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
- Throws:
ApiException
-
tokenSecurityUsingGET1
public ResponseWrapperTokenSecurity tokenSecurityUsingGET1(String chainId, String contractAddresses, String authorization) throws ApiException
Get token's security and risk data.- Parameters:
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)- Returns:
- ResponseWrapperTokenSecurity
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
tokenSecurityUsingGET1WithHttpInfo
public ApiResponse<ResponseWrapperTokenSecurity> tokenSecurityUsingGET1WithHttpInfo(String chainId, String contractAddresses, String authorization) throws ApiException
Get token's security and risk data.- Parameters:
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)- Returns:
- ApiResponse<ResponseWrapperTokenSecurity>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
tokenSecurityUsingGET1Async
public com.squareup.okhttp.Call tokenSecurityUsingGET1Async(String chainId, String contractAddresses, String authorization, ApiCallback<ResponseWrapperTokenSecurity> callback) throws ApiException
Get token's security and risk data. (asynchronously)- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-