@signumjs/core
Version:
Principal package with functions and models for building Signum Network applications.
23 lines • 696 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAssetsByName = void 0;
/**
* Use with {@link ApiComposer} and belongs to {@link AssetApi}.
*
* See details at {@link AssetApi.getAssetsByName}
*
* @category factories
*/
const getAssetsByName = (service) => (args) => {
const params = {
name: args.name,
firstIndex: args.firstIndex,
lastIndex: args.lastIndex,
heightStart: args.heightStart,
heightEnd: args.heightEnd,
skipZeroVolume: args.skipZeroVolume,
};
return service.query('getAssetsByName', params);
};
exports.getAssetsByName = getAssetsByName;
//# sourceMappingURL=getAssetsByName.js.map