Package io.gopluslabs.client.api
Class NftControllerApi
- java.lang.Object
-
- io.gopluslabs.client.api.NftControllerApi
-
public class NftControllerApi extends Object
-
-
Constructor Summary
Constructors Constructor Description NftControllerApi()NftControllerApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()ResponseWrapperGetNftInfogetNftInfoUsingGET1(String chainId, String contractAddresses, String authorization, String tokenId)Get NFT's security and risk data.com.squareup.okhttp.CallgetNftInfoUsingGET1Async(String chainId, String contractAddresses, String authorization, String tokenId, ApiCallback<ResponseWrapperGetNftInfo> callback)Get NFT's security and risk data.com.squareup.okhttp.CallgetNftInfoUsingGET1Call(String chainId, String contractAddresses, String authorization, String tokenId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getNftInfoUsingGET1private com.squareup.okhttp.CallgetNftInfoUsingGET1ValidateBeforeCall(String chainId, String contractAddresses, String authorization, String tokenId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)ApiResponse<ResponseWrapperGetNftInfo>getNftInfoUsingGET1WithHttpInfo(String chainId, String contractAddresses, String authorization, String tokenId)Get NFT's security and risk data.voidsetApiClient(ApiClient apiClient)
-
-
-
Field Detail
-
apiClient
private ApiClient apiClient
-
-
Constructor Detail
-
NftControllerApi
public NftControllerApi()
-
NftControllerApi
public NftControllerApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getNftInfoUsingGET1Call
public com.squareup.okhttp.Call getNftInfoUsingGET1Call(String chainId, String contractAddresses, String authorization, String tokenId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getNftInfoUsingGET1- Parameters:
chainId- The chain_id of the blockchain.\"1\" means Ethereum; \"10\" means Optimism;\"25\" means Cronos;\"56\" means BSC; \"100\" means Gnosis;\"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom;\"321\" means KCC;\"324\" means zkSync Era; \"201022\" means FON;\"42161\" means Arbitrum; \"43114\" means Avalanche;\"59144\" means Linea Mainnet;\"8453\" Base;\"5000\" Mantle; (required)contractAddresses- NFT contract address (required)authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)tokenId- tokenId (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getNftInfoUsingGET1ValidateBeforeCall
private com.squareup.okhttp.Call getNftInfoUsingGET1ValidateBeforeCall(String chainId, String contractAddresses, String authorization, String tokenId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
- Throws:
ApiException
-
getNftInfoUsingGET1
public ResponseWrapperGetNftInfo getNftInfoUsingGET1(String chainId, String contractAddresses, String authorization, String tokenId) throws ApiException
Get NFT'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; \"100\" means Gnosis;\"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom;\"321\" means KCC;\"324\" means zkSync Era; \"201022\" means FON;\"42161\" means Arbitrum; \"43114\" means Avalanche;\"59144\" means Linea Mainnet;\"8453\" Base;\"5000\" Mantle; (required)contractAddresses- NFT contract address (required)authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)tokenId- tokenId (optional)- Returns:
- ResponseWrapperGetNftInfo
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getNftInfoUsingGET1WithHttpInfo
public ApiResponse<ResponseWrapperGetNftInfo> getNftInfoUsingGET1WithHttpInfo(String chainId, String contractAddresses, String authorization, String tokenId) throws ApiException
Get NFT'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; \"100\" means Gnosis;\"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom;\"321\" means KCC;\"324\" means zkSync Era; \"201022\" means FON;\"42161\" means Arbitrum; \"43114\" means Avalanche;\"59144\" means Linea Mainnet;\"8453\" Base;\"5000\" Mantle; (required)contractAddresses- NFT contract address (required)authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)tokenId- tokenId (optional)- Returns:
- ApiResponse<ResponseWrapperGetNftInfo>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getNftInfoUsingGET1Async
public com.squareup.okhttp.Call getNftInfoUsingGET1Async(String chainId, String contractAddresses, String authorization, String tokenId, ApiCallback<ResponseWrapperGetNftInfo> callback) throws ApiException
Get NFT'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; \"100\" means Gnosis;\"128\" means HECO; \"137\" means Polygon; \"250\" means Fantom;\"321\" means KCC;\"324\" means zkSync Era; \"201022\" means FON;\"42161\" means Arbitrum; \"43114\" means Avalanche;\"59144\" means Linea Mainnet;\"8453\" Base;\"5000\" Mantle; (required)contractAddresses- NFT contract address (required)authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)tokenId- tokenId (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
-
-