Class NetworkRoutesApi
- java.lang.Object
-
- io.nem.symbol.sdk.openapi.jersey2.api.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 Summary
Constructors Constructor Description NetworkRoutesApi()NetworkRoutesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()NetworkConfigurationDTOgetNetworkProperties()Get the network properties Returns the content from a catapult-server network configuration file (resources/config-network.properties).ApiResponse<NetworkConfigurationDTO>getNetworkPropertiesWithHttpInfo()Get the network properties Returns the content from a catapult-server network configuration file (resources/config-network.properties).NetworkTypeDTOgetNetworkType()Get the current network type of the chain Returns the current network type.ApiResponse<NetworkTypeDTO>getNetworkTypeWithHttpInfo()Get the current network type of the chain Returns the current network type.RentalFeesDTOgetRentalFees()Get rental fees information Returns the estimated effective rental fees for namespaces and mosaics.ApiResponse<RentalFeesDTO>getRentalFeesWithHttpInfo()Get rental fees information Returns the estimated effective rental fees for namespaces and mosaics.TransactionFeesDTOgetTransactionFees()Get transaction fees information Returns the average, median, highest and lower fee multiplier over the last \"numBlocksTransactionFeeStats\".ApiResponse<TransactionFeesDTO>getTransactionFeesWithHttpInfo()Get transaction fees information Returns the average, median, highest and lower fee multiplier over the last \"numBlocksTransactionFeeStats\".voidsetApiClient(ApiClient apiClient)
-
-
-
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 -
-
-