Class NetworkRoutesApi


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-05-15T14:38:14.328808-03:00[America/Argentina/Buenos_Aires]")
    public class NetworkRoutesApi
    extends java.lang.Object
    • Constructor Detail

      • NetworkRoutesApi

        public NetworkRoutesApi()
      • NetworkRoutesApi

        public NetworkRoutesApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getNetworkProperties

        public NetworkConfigurationDTO getNetworkProperties()
                                                     throws ApiException
        Get the network properties Returns the content from a catapult-server network configuration file (resources/config-network.properties). To enable this feature, the REST setting \"network.propertiesFilePath\" must define where the file is located. This is adjustable via the configuration file (rest/resources/rest.json) per REST instance.
        Returns:
        NetworkConfigurationDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getNetworkPropertiesWithHttpInfo

        public ApiResponse<NetworkConfigurationDTO> getNetworkPropertiesWithHttpInfo()
                                                                              throws ApiException
        Get the network properties Returns the content from a catapult-server network configuration file (resources/config-network.properties). To enable this feature, the REST setting \"network.propertiesFilePath\" must define where the file is located. This is adjustable via the configuration file (rest/resources/rest.json) per REST instance.
        Returns:
        ApiResponse<NetworkConfigurationDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getNetworkType

        public NetworkTypeDTO getNetworkType()
                                      throws ApiException
        Get the current network type of the chain Returns the current network type.
        Returns:
        NetworkTypeDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
      • getNetworkTypeWithHttpInfo

        public ApiResponse<NetworkTypeDTO> getNetworkTypeWithHttpInfo()
                                                               throws ApiException
        Get the current network type of the chain Returns the current network type.
        Returns:
        ApiResponse<NetworkTypeDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
      • getRentalFees

        public RentalFeesDTO getRentalFees()
                                    throws ApiException
        Get rental fees information Returns the estimated effective rental fees for namespaces and mosaics. This endpoint is only available if the REST instance has access to catapult-server ``resources/config-network.properties`` file. To activate this feature, add the setting \"network.propertiesFilePath\" in the configuration file (rest/resources/rest.json).
        Returns:
        RentalFeesDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getRentalFeesWithHttpInfo

        public ApiResponse<RentalFeesDTO> getRentalFeesWithHttpInfo()
                                                             throws ApiException
        Get rental fees information Returns the estimated effective rental fees for namespaces and mosaics. This endpoint is only available if the REST instance has access to catapult-server ``resources/config-network.properties`` file. To activate this feature, add the setting \"network.propertiesFilePath\" in the configuration file (rest/resources/rest.json).
        Returns:
        ApiResponse<RentalFeesDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
        409 InvalidArgument -
      • getTransactionFees

        public TransactionFeesDTO getTransactionFees()
                                              throws ApiException
        Get transaction fees information Returns the average, median, highest and lower fee multiplier over the last \"numBlocksTransactionFeeStats\". The setting \"numBlocksTransactionFeeStats\" is adjustable via the configuration file (rest/resources/rest.json) per REST instance.
        Returns:
        TransactionFeesDTO
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -
      • getTransactionFeesWithHttpInfo

        public ApiResponse<TransactionFeesDTO> getTransactionFeesWithHttpInfo()
                                                                       throws ApiException
        Get transaction fees information Returns the average, median, highest and lower fee multiplier over the last \"numBlocksTransactionFeeStats\". The setting \"numBlocksTransactionFeeStats\" is adjustable via the configuration file (rest/resources/rest.json) per REST instance.
        Returns:
        ApiResponse<TransactionFeesDTO>
        Throws:
        ApiException - if fails to make API call
        Http Response Details
        Status Code Description Response Headers
        200 success -