import { Observable } from 'rxjs'; import { Currency, MosaicId, NetworkCurrencies } from '../../model/mosaic'; /** * A service that allows you loading Network currencies for mosaic creation. */ export interface ICurrencyService { /** * This method loads the network currencies (main currency and harvest). */ getNetworkCurrencies(): Observable; /** * It creates the Currency objects from the mosaic ids by loading the mosaic infos and namespace aliases. * * @param mosaicIds the mosaic ids. */ getCurrencies(mosaicIds: MosaicId[]): Observable; }