import { Observable } from 'rxjs'; import { NetworkConfiguration } from '../model/network/NetworkConfiguration'; import { NetworkName } from '../model/network/NetworkName'; import { NetworkType } from '../model/network/NetworkType'; import { RentalFees } from '../model/network/RentalFees'; import { TransactionFees } from '../model/network/TransactionFees'; /** * Network interface repository. * * @since 1.0 */ export interface NetworkRepository { /** * Get current network type name and description * * @return current network type name and description */ getNetworkName(): Observable; /** * 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. * @summary Get the network properties */ getNetworkProperties(): Observable; /** * Get current network type. * @return network type enum. */ getNetworkType(): Observable; /** * 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). * @summary Get rental fees information */ getRentalFees(): Observable; /** * 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. * @summary Get transaction fees information */ getTransactionFees(): Observable; }