| 程序包 | 说明 |
|---|---|
| io.gopluslabs.client.api | |
| io.gopluslabs.client.common | |
| io.gopluslabs.client.template |
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseWrapperAddressContract |
ApproveControllerV1Api.addressContractUsingGET1(String address,
String authorization,
String chainId,
Integer timeOut)
Check if the address is malicious
|
com.squareup.okhttp.Call |
ApproveControllerV1Api.addressContractUsingGET1Async(String address,
String authorization,
String chainId,
ApiCallback<ResponseWrapperAddressContract> callback)
Check if the address is malicious (asynchronously)
|
com.squareup.okhttp.Call |
ApproveControllerV1Api.addressContractUsingGET1Call(String address,
String authorization,
String chainId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addressContractUsingGET1
|
private com.squareup.okhttp.Call |
ApproveControllerV1Api.addressContractUsingGET1ValidateBeforeCall(String address,
String authorization,
String chainId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperAddressContract> |
ApproveControllerV1Api.addressContractUsingGET1WithHttpInfo(String address,
String authorization,
String chainId)
Check if the address is malicious
|
ResponseWrapperListApproveNFT1155ListResponse |
ApproveControllerV2Api.addressNFT1155ApproveListUsingGET1(String addresses,
String chainId,
String authorization,
Integer timeOut)
Check risk of all erc1155 approvals under one EOA.
|
com.squareup.okhttp.Call |
ApproveControllerV2Api.addressNFT1155ApproveListUsingGET1Async(String addresses,
String chainId,
String authorization,
ApiCallback<ResponseWrapperListApproveNFT1155ListResponse> callback)
Check risk of all erc1155 approvals under one EOA.
|
com.squareup.okhttp.Call |
ApproveControllerV2Api.addressNFT1155ApproveListUsingGET1Call(String addresses,
String chainId,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addressNFT1155ApproveListUsingGET1
|
private com.squareup.okhttp.Call |
ApproveControllerV2Api.addressNFT1155ApproveListUsingGET1ValidateBeforeCall(String addresses,
String chainId,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperListApproveNFT1155ListResponse> |
ApproveControllerV2Api.addressNFT1155ApproveListUsingGET1WithHttpInfo(String addresses,
String chainId,
String authorization)
Check risk of all erc1155 approvals under one EOA.
|
ResponseWrapperListApproveNFTListResponse |
ApproveControllerV2Api.addressNFT721ApproveListUsingGET1(String addresses,
String chainId,
String authorization,
Integer timeOut)
Check risk of all erc721 approvals under one EOA.
|
com.squareup.okhttp.Call |
ApproveControllerV2Api.addressNFT721ApproveListUsingGET1Async(String addresses,
String chainId,
String authorization,
ApiCallback<ResponseWrapperListApproveNFTListResponse> callback)
Check risk of all erc721 approvals under one EOA.
|
com.squareup.okhttp.Call |
ApproveControllerV2Api.addressNFT721ApproveListUsingGET1Call(String addresses,
String chainId,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addressNFT721ApproveListUsingGET1
|
private com.squareup.okhttp.Call |
ApproveControllerV2Api.addressNFT721ApproveListUsingGET1ValidateBeforeCall(String addresses,
String chainId,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperListApproveNFTListResponse> |
ApproveControllerV2Api.addressNFT721ApproveListUsingGET1WithHttpInfo(String addresses,
String chainId,
String authorization)
Check risk of all erc721 approvals under one EOA.
|
ResponseWrapperListApproveTokenOutListResponse |
ApproveControllerV2Api.addressTokenApproveListUsingGET1(String addresses,
String chainId,
String authorization,
Integer timeOut)
Check risk of all erc20 approvals under one EOA.
|
com.squareup.okhttp.Call |
ApproveControllerV2Api.addressTokenApproveListUsingGET1Async(String addresses,
String chainId,
String authorization,
ApiCallback<ResponseWrapperListApproveTokenOutListResponse> callback)
Check risk of all erc20 approvals under one EOA.
|
com.squareup.okhttp.Call |
ApproveControllerV2Api.addressTokenApproveListUsingGET1Call(String addresses,
String chainId,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addressTokenApproveListUsingGET1
|
private com.squareup.okhttp.Call |
ApproveControllerV2Api.addressTokenApproveListUsingGET1ValidateBeforeCall(String addresses,
String chainId,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperListApproveTokenOutListResponse> |
ApproveControllerV2Api.addressTokenApproveListUsingGET1WithHttpInfo(String addresses,
String chainId,
String authorization)
Check risk of all erc20 approvals under one EOA.
|
ResponseWrapperContractApproveResponse |
ApproveControllerV1Api.approvalContractUsingGET(String chainId,
String contractAddresses,
String authorization,
Integer timeOut)
Check if the approval is secure
|
com.squareup.okhttp.Call |
ApproveControllerV1Api.approvalContractUsingGETAsync(String chainId,
String contractAddresses,
String authorization,
ApiCallback<ResponseWrapperContractApproveResponse> callback)
Check if the approval is secure (asynchronously)
|
com.squareup.okhttp.Call |
ApproveControllerV1Api.approvalContractUsingGETCall(String chainId,
String contractAddresses,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for approvalContractUsingGET
|
private com.squareup.okhttp.Call |
ApproveControllerV1Api.approvalContractUsingGETValidateBeforeCall(String chainId,
String contractAddresses,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperContractApproveResponse> |
ApproveControllerV1Api.approvalContractUsingGETWithHttpInfo(String chainId,
String contractAddresses,
String authorization)
Check if the approval is secure
|
ResponseWrapperParseAbiDataResponse |
ContractAbiControllerApi.getAbiDataInfoUsingPOST(ParseAbiDataRequest body,
String authorization,
Integer timeOut)
Get abi decode info
|
com.squareup.okhttp.Call |
ContractAbiControllerApi.getAbiDataInfoUsingPOSTAsync(ParseAbiDataRequest body,
String authorization,
ApiCallback<ResponseWrapperParseAbiDataResponse> callback)
Get abi decode info (asynchronously)
|
com.squareup.okhttp.Call |
ContractAbiControllerApi.getAbiDataInfoUsingPOSTCall(ParseAbiDataRequest body,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAbiDataInfoUsingPOST
|
private com.squareup.okhttp.Call |
ContractAbiControllerApi.getAbiDataInfoUsingPOSTValidateBeforeCall(ParseAbiDataRequest body,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperParseAbiDataResponse> |
ContractAbiControllerApi.getAbiDataInfoUsingPOSTWithHttpInfo(ParseAbiDataRequest body,
String authorization)
Get abi decode info
|
ResponseWrapperGetAccessTokenResponse |
TokenControllerApi.getAccessTokenUsingPOST(GetAccessTokenRequest body,
Integer timeOut)
get token
|
com.squareup.okhttp.Call |
TokenControllerApi.getAccessTokenUsingPOSTAsync(GetAccessTokenRequest body,
ApiCallback<ResponseWrapperGetAccessTokenResponse> callback)
get token (asynchronously)
|
com.squareup.okhttp.Call |
TokenControllerApi.getAccessTokenUsingPOSTCall(GetAccessTokenRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAccessTokenUsingPOST
|
private com.squareup.okhttp.Call |
TokenControllerApi.getAccessTokenUsingPOSTValidateBeforeCall(GetAccessTokenRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
private ApiResponse<ResponseWrapperGetAccessTokenResponse> |
TokenControllerApi.getAccessTokenUsingPOSTWithHttpInfo(GetAccessTokenRequest body)
get token
|
ResponseWrapperListGetChainsList |
TokenControllerV1Api.getChainsListUsingGET(String authorization,
String name,
Integer timeOut)
Get the list of chains supported by different functions.
|
com.squareup.okhttp.Call |
TokenControllerV1Api.getChainsListUsingGETAsync(String authorization,
String name,
ApiCallback<ResponseWrapperListGetChainsList> callback)
Get the list of chains supported by different functions.
|
com.squareup.okhttp.Call |
TokenControllerV1Api.getChainsListUsingGETCall(String authorization,
String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getChainsListUsingGET
|
private com.squareup.okhttp.Call |
TokenControllerV1Api.getChainsListUsingGETValidateBeforeCall(String authorization,
String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperListGetChainsList> |
TokenControllerV1Api.getChainsListUsingGETWithHttpInfo(String authorization,
String name)
Get the list of chains supported by different functions.
|
ResponseWrapperDappContractSecurityResponse |
DappControllerApi.getDappInfoUsingGET(String authorization,
String url,
Integer timeOut)
Check risk of dapp through URL
|
com.squareup.okhttp.Call |
DappControllerApi.getDappInfoUsingGETAsync(String authorization,
String url,
ApiCallback<ResponseWrapperDappContractSecurityResponse> callback)
Check risk of dapp through URL (asynchronously)
|
com.squareup.okhttp.Call |
DappControllerApi.getDappInfoUsingGETCall(String authorization,
String url,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getDappInfoUsingGET
|
private com.squareup.okhttp.Call |
DappControllerApi.getDappInfoUsingGETValidateBeforeCall(String authorization,
String url,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperDappContractSecurityResponse> |
DappControllerApi.getDappInfoUsingGETWithHttpInfo(String authorization,
String url)
Check risk of dapp through URL
|
ResponseWrapperGetDefiInfo |
DefiControllerApi.getDefiInfoUsingGET(String contractAddresses,
String chainId,
String authorization,
Integer timeOut)
Rug-pull Detection API Beta
|
com.squareup.okhttp.Call |
DefiControllerApi.getDefiInfoUsingGETAsync(String contractAddresses,
String chainId,
String authorization,
ApiCallback<ResponseWrapperGetDefiInfo> callback)
Rug-pull Detection API Beta (asynchronously)
|
com.squareup.okhttp.Call |
DefiControllerApi.getDefiInfoUsingGETCall(String contractAddresses,
String chainId,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getDefiInfoUsingGET
|
private com.squareup.okhttp.Call |
DefiControllerApi.getDefiInfoUsingGETValidateBeforeCall(String contractAddresses,
String chainId,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperGetDefiInfo> |
DefiControllerApi.getDefiInfoUsingGETWithHttpInfo(String contractAddresses,
String chainId,
String authorization)
Rug-pull Detection API Beta
|
ResponseWrapperGetNftInfo |
NftControllerApi.getNftInfoUsingGET1(String chainId,
String contractAddresses,
String authorization,
String tokenId,
Integer timeOut)
Get NFT's security and risk data.
|
com.squareup.okhttp.Call |
NftControllerApi.getNftInfoUsingGET1Async(String chainId,
String contractAddresses,
String authorization,
String tokenId,
ApiCallback<ResponseWrapperGetNftInfo> callback)
Get NFT's security and risk data.
|
com.squareup.okhttp.Call |
NftControllerApi.getNftInfoUsingGET1Call(String chainId,
String contractAddresses,
String authorization,
String tokenId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getNftInfoUsingGET1
|
private com.squareup.okhttp.Call |
NftControllerApi.getNftInfoUsingGET1ValidateBeforeCall(String chainId,
String contractAddresses,
String authorization,
String tokenId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperGetNftInfo> |
NftControllerApi.getNftInfoUsingGET1WithHttpInfo(String chainId,
String contractAddresses,
String authorization,
String tokenId)
Get NFT's security and risk data.
|
ResponseWrapperPhishingSite |
WebsiteControllerApi.phishingSiteUsingGET(String url,
String authorization,
Integer timeOut)
Check if the the url is a phishing site
|
com.squareup.okhttp.Call |
WebsiteControllerApi.phishingSiteUsingGETAsync(String url,
String authorization,
ApiCallback<ResponseWrapperPhishingSite> callback)
Check if the the url is a phishing site (asynchronously)
|
com.squareup.okhttp.Call |
WebsiteControllerApi.phishingSiteUsingGETCall(String url,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for phishingSiteUsingGET
|
private com.squareup.okhttp.Call |
WebsiteControllerApi.phishingSiteUsingGETValidateBeforeCall(String url,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperPhishingSite> |
WebsiteControllerApi.phishingSiteUsingGETWithHttpInfo(String url,
String authorization)
Check if the the url is a phishing site
|
ResponseWrapperTokenSecurity |
TokenControllerV1Api.tokenSecurityUsingGET1(String chainId,
String contractAddresses,
String authorization,
Integer timeOut)
Get token's security and risk data.
|
com.squareup.okhttp.Call |
TokenControllerV1Api.tokenSecurityUsingGET1Async(String chainId,
String contractAddresses,
String authorization,
ApiCallback<ResponseWrapperTokenSecurity> callback)
Get token's security and risk data.
|
com.squareup.okhttp.Call |
TokenControllerV1Api.tokenSecurityUsingGET1Call(String chainId,
String contractAddresses,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for tokenSecurityUsingGET1
|
private com.squareup.okhttp.Call |
TokenControllerV1Api.tokenSecurityUsingGET1ValidateBeforeCall(String chainId,
String contractAddresses,
String authorization,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
ApiResponse<ResponseWrapperTokenSecurity> |
TokenControllerV1Api.tokenSecurityUsingGET1WithHttpInfo(String chainId,
String contractAddresses,
String authorization)
Get token's security and risk data.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ApiCallback.onFailure(ApiException e,
int statusCode,
Map<String,List<String>> responseHeaders)
This is called when the API call fails.
|
| 限定符和类型 | 方法和说明 |
|---|---|
com.squareup.okhttp.Call |
ApiClient.buildCall(String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build HTTP call with the given options.
|
com.squareup.okhttp.Request |
ApiClient.buildRequest(String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build an HTTP request with the given options.
|
<T> T |
ApiClient.deserialize(com.squareup.okhttp.Response response,
Type returnType)
Deserialize response body to Java object, according to the return type and
the Content-Type response header.
|
File |
ApiClient.downloadFileFromResponse(com.squareup.okhttp.Response response)
Download file from the given response.
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call)
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call,
Type returnType)
Execute HTTP call and deserialize the HTTP response body into the given return type.
|
<T> T |
ApiClient.handleResponse(com.squareup.okhttp.Response response,
Type returnType)
Handle the given response, return the deserialized object when the response is successful.
|
com.squareup.okhttp.RequestBody |
ApiClient.serialize(Object obj,
String contentType)
Serialize the given Java object into request body according to the object's
class and the request Content-Type.
|
Copyright © 2023. All rights reserved.