public class GoPlusClient extends Object
| 构造器和说明 |
|---|
GoPlusClient() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AddressContract |
addressSecurity(AddressSecurityRequest request)
Check if the address is malicious
|
static ContractApprove |
approvalSecurity(ApprovalSecurityRequest request)
Check if the approval is secure
|
private static ApiClient |
createApiClient(Integer timeOut) |
static DappContractSecurity |
dappSecurity(DappSecurityRequest request)
Check risk of dapp through URL
|
static ApproveNFT1155List |
erc1155ApprovalSecurity(Erc1155ApprovalSecurityRequest request)
Check risk of all erc1155 approvals under one EOA.
|
static ApproveTokenOutList |
erc20ApprovalSecurity(Erc20ApprovalSecurityRequest request)
Check risk of all erc20 approvals under one EOA.
|
static ApproveNFTList |
erc721ApprovalSecurity(Erc721ApprovalSecurityRequest request)
Check risk of all erc721 approvals under one EOA.
|
static AccessToken |
getAccessToken(AccessTokenRequest request)
get token
|
static ParseAbiData |
inputDecode(InputDecodeRequest request)
Get abi decode info
|
static NftInfo |
nftSecurity(NftSecurityRequest request)
Get NFT security and risk data.
|
static PhishingSite |
phishingSite(PhishingSiteRequest request)
Check if the url is a phishing site
|
static DefiInfo |
rugpullDetecting(DefiInfoRequest request)
Rug-pull Detection API Beta
|
static ChainsList |
supportedChains(SupportedChainsRequest request)
Get the list of chains supported by different functions.
|
static TokenSecurity |
tokenSecurity(TokenSecurityRequest request)
Get token security and risk data.
|
public static AccessToken getAccessToken(AccessTokenRequest request) throws ApiException
request - requestApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic static ChainsList supportedChains(SupportedChainsRequest request) throws ApiException
request - SupportedChainsRequestApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic static TokenSecurity tokenSecurity(TokenSecurityRequest request) throws ApiException
request - TokenSecurityRequestApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic static AddressContract addressSecurity(AddressSecurityRequest request) throws ApiException
request - AddressSecurityRequestApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic static ContractApprove approvalSecurity(ApprovalSecurityRequest request) throws ApiException
request - ApprovalSecurityRequestApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic static ApproveTokenOutList erc20ApprovalSecurity(Erc20ApprovalSecurityRequest request) throws ApiException
request - Erc20ApprovalSecurityRequestApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic static ApproveNFTList erc721ApprovalSecurity(Erc721ApprovalSecurityRequest request) throws ApiException
request - Erc721ApprovalSecurityRequestApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic static ApproveNFT1155List erc1155ApprovalSecurity(Erc1155ApprovalSecurityRequest request) throws ApiException
request - Erc1155ApprovalSecurityRequestApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic static ParseAbiData inputDecode(InputDecodeRequest request) throws ApiException
request - InputDecodeRequestApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic static NftInfo nftSecurity(NftSecurityRequest request) throws ApiException
request - NftSecurityRequestApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic static DappContractSecurity dappSecurity(DappSecurityRequest request) throws ApiException
request - DappSecurityRequestApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic static PhishingSite phishingSite(PhishingSiteRequest request) throws ApiException
request - PhishingSiteRequestApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic static DefiInfo rugpullDetecting(DefiInfoRequest request) throws ApiException
request - DefiInfoRequestApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodyCopyright © 2023. All rights reserved.