Class ApproveControllerV2Api


  • public class ApproveControllerV2Api
    extends Object
    • 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 listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • 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 listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • 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 listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • 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