Package io.gopluslabs.client.api
Class ApproveControllerV2Api
- java.lang.Object
-
- io.gopluslabs.client.api.ApproveControllerV2Api
-
public class ApproveControllerV2Api extends Object
-
-
Constructor Summary
Constructors Constructor Description ApproveControllerV2Api()ApproveControllerV2Api(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseWrapperListApproveNFT1155ListResponseaddressNFT1155ApproveListUsingGET1(String addresses, String chainId, String authorization)Returns the ERC-1155 approvals of an EOA address and associated risk items.com.squareup.okhttp.CalladdressNFT1155ApproveListUsingGET1Async(String addresses, String chainId, String authorization, ApiCallback<ResponseWrapperListApproveNFT1155ListResponse> callback)Returns the ERC-1155 approvals of an EOA address and associated risk items.com.squareup.okhttp.CalladdressNFT1155ApproveListUsingGET1Call(String addresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for addressNFT1155ApproveListUsingGET1private com.squareup.okhttp.CalladdressNFT1155ApproveListUsingGET1ValidateBeforeCall(String addresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)ApiResponse<ResponseWrapperListApproveNFT1155ListResponse>addressNFT1155ApproveListUsingGET1WithHttpInfo(String addresses, String chainId, String authorization)Returns the ERC-1155 approvals of an EOA address and associated risk items.ResponseWrapperListApproveNFTListResponseaddressNFT721ApproveListUsingGET1(String addresses, String chainId, String authorization)Returns the ERC-721 approvals of an EOA address and associated risk items.com.squareup.okhttp.CalladdressNFT721ApproveListUsingGET1Async(String addresses, String chainId, String authorization, ApiCallback<ResponseWrapperListApproveNFTListResponse> callback)Returns the ERC-721 approvals of an EOA address and associated risk items.com.squareup.okhttp.CalladdressNFT721ApproveListUsingGET1Call(String addresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for addressNFT721ApproveListUsingGET1private com.squareup.okhttp.CalladdressNFT721ApproveListUsingGET1ValidateBeforeCall(String addresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)ApiResponse<ResponseWrapperListApproveNFTListResponse>addressNFT721ApproveListUsingGET1WithHttpInfo(String addresses, String chainId, String authorization)Returns the ERC-721 approvals of an EOA address and associated risk items.ResponseWrapperListApproveTokenOutListResponseaddressTokenApproveListUsingGET1(String addresses, String chainId, String authorization)Returns the ERC-20 approvals of an EOA address and associated risk items.com.squareup.okhttp.CalladdressTokenApproveListUsingGET1Async(String addresses, String chainId, String authorization, ApiCallback<ResponseWrapperListApproveTokenOutListResponse> callback)Returns the ERC-20 approvals of an EOA address and associated risk items.com.squareup.okhttp.CalladdressTokenApproveListUsingGET1Call(String addresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for addressTokenApproveListUsingGET1private com.squareup.okhttp.CalladdressTokenApproveListUsingGET1ValidateBeforeCall(String addresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)ApiResponse<ResponseWrapperListApproveTokenOutListResponse>addressTokenApproveListUsingGET1WithHttpInfo(String addresses, String chainId, String authorization)Returns the ERC-20 approvals of an EOA address and associated risk items.ApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)
-
-
-
Field Detail
-
apiClient
private ApiClient apiClient
-
-
Constructor Detail
-
ApproveControllerV2Api
public ApproveControllerV2Api()
-
ApproveControllerV2Api
public ApproveControllerV2Api(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
addressNFT1155ApproveListUsingGET1Call
public com.squareup.okhttp.Call addressNFT1155ApproveListUsingGET1Call(String addresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for addressNFT1155ApproveListUsingGET1- Parameters:
addresses- contract address (required)chainId- chain id (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
-
addressNFT1155ApproveListUsingGET1ValidateBeforeCall
private com.squareup.okhttp.Call addressNFT1155ApproveListUsingGET1ValidateBeforeCall(String addresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
- Throws:
ApiException
-
addressNFT1155ApproveListUsingGET1
public ResponseWrapperListApproveNFT1155ListResponse addressNFT1155ApproveListUsingGET1(String addresses, String chainId, String authorization) throws ApiException
Returns the ERC-1155 approvals of an EOA address and associated risk items. Reports the outstanding token approvals issued to ERC-1155 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance.- Parameters:
addresses- contract address (required)chainId- chain id (required)authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)- Returns:
- ResponseWrapperListApproveNFT1155ListResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
addressNFT1155ApproveListUsingGET1WithHttpInfo
public ApiResponse<ResponseWrapperListApproveNFT1155ListResponse> addressNFT1155ApproveListUsingGET1WithHttpInfo(String addresses, String chainId, String authorization) throws ApiException
Returns the ERC-1155 approvals of an EOA address and associated risk items. Reports the outstanding token approvals issued to ERC-1155 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance.- Parameters:
addresses- contract address (required)chainId- chain id (required)authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)- Returns:
- ApiResponse<ResponseWrapperListApproveNFT1155ListResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
addressNFT1155ApproveListUsingGET1Async
public com.squareup.okhttp.Call addressNFT1155ApproveListUsingGET1Async(String addresses, String chainId, String authorization, ApiCallback<ResponseWrapperListApproveNFT1155ListResponse> callback) throws ApiException
Returns the ERC-1155 approvals of an EOA address and associated risk items. (asynchronously) Reports the outstanding token approvals issued to ERC-1155 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance.- Parameters:
addresses- contract address (required)chainId- chain id (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
-
addressNFT721ApproveListUsingGET1Call
public com.squareup.okhttp.Call addressNFT721ApproveListUsingGET1Call(String addresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for addressNFT721ApproveListUsingGET1- Parameters:
addresses- contract address (required)chainId- chain id (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
-
addressNFT721ApproveListUsingGET1ValidateBeforeCall
private com.squareup.okhttp.Call addressNFT721ApproveListUsingGET1ValidateBeforeCall(String addresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
- Throws:
ApiException
-
addressNFT721ApproveListUsingGET1
public ResponseWrapperListApproveNFTListResponse addressNFT721ApproveListUsingGET1(String addresses, String chainId, String authorization) throws ApiException
Returns the ERC-721 approvals of an EOA address and associated risk items. Reports the outstanding token approvals issued to ERC-721 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance.- Parameters:
addresses- contract address (required)chainId- chain id (required)authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)- Returns:
- ResponseWrapperListApproveNFTListResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
addressNFT721ApproveListUsingGET1WithHttpInfo
public ApiResponse<ResponseWrapperListApproveNFTListResponse> addressNFT721ApproveListUsingGET1WithHttpInfo(String addresses, String chainId, String authorization) throws ApiException
Returns the ERC-721 approvals of an EOA address and associated risk items. Reports the outstanding token approvals issued to ERC-721 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance.- Parameters:
addresses- contract address (required)chainId- chain id (required)authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)- Returns:
- ApiResponse<ResponseWrapperListApproveNFTListResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
addressNFT721ApproveListUsingGET1Async
public com.squareup.okhttp.Call addressNFT721ApproveListUsingGET1Async(String addresses, String chainId, String authorization, ApiCallback<ResponseWrapperListApproveNFTListResponse> callback) throws ApiException
Returns the ERC-721 approvals of an EOA address and associated risk items. (asynchronously) Reports the outstanding token approvals issued to ERC-721 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance.- Parameters:
addresses- contract address (required)chainId- chain id (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
-
addressTokenApproveListUsingGET1Call
public com.squareup.okhttp.Call addressTokenApproveListUsingGET1Call(String addresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for addressTokenApproveListUsingGET1- Parameters:
addresses- contract address (required)chainId- chain id (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
-
addressTokenApproveListUsingGET1ValidateBeforeCall
private com.squareup.okhttp.Call addressTokenApproveListUsingGET1ValidateBeforeCall(String addresses, String chainId, String authorization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
- Throws:
ApiException
-
addressTokenApproveListUsingGET1
public ResponseWrapperListApproveTokenOutListResponse addressTokenApproveListUsingGET1(String addresses, String chainId, String authorization) throws ApiException
Returns the ERC-20 approvals of an EOA address and associated risk items. Reports the outstanding token approvals issued to ERC-20 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance.- Parameters:
addresses- contract address (required)chainId- chain id (required)authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)- Returns:
- ResponseWrapperListApproveTokenOutListResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
addressTokenApproveListUsingGET1WithHttpInfo
public ApiResponse<ResponseWrapperListApproveTokenOutListResponse> addressTokenApproveListUsingGET1WithHttpInfo(String addresses, String chainId, String authorization) throws ApiException
Returns the ERC-20 approvals of an EOA address and associated risk items. Reports the outstanding token approvals issued to ERC-20 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance.- Parameters:
addresses- contract address (required)chainId- chain id (required)authorization- Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)- Returns:
- ApiResponse<ResponseWrapperListApproveTokenOutListResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
addressTokenApproveListUsingGET1Async
public com.squareup.okhttp.Call addressTokenApproveListUsingGET1Async(String addresses, String chainId, String authorization, ApiCallback<ResponseWrapperListApproveTokenOutListResponse> callback) throws ApiException
Returns the ERC-20 approvals of an EOA address and associated risk items. (asynchronously) Reports the outstanding token approvals issued to ERC-20 contracts by the given EOA address and associated risk items, including the date that the approval was issued, the allowance of the approval, and the transaction ID issuing the allowance.- Parameters:
addresses- contract address (required)chainId- chain id (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
-
-