/** * Modified work Copyright (c) 2019 Burst Apps Team */ import {ChainService} from '../../../service'; import {AssetList} from '../../../typings/assetList'; import {GetAllAssetsArgs} from '../../../typings/args/getAllAssetsArgs'; /** * Use with [[ApiComposer]] and belongs to [[AssetApi]]. * * See details at [[AssetApi.getAllAssets]] * @module core.api.factories */ export const getAllAssets = (service: ChainService): (args: GetAllAssetsArgs) => Promise => (args: GetAllAssetsArgs): Promise => service.query('getAllAssets', args);