UNPKG

@signumjs/core

Version:

Principal package with functions and models for building Signum Network applications.

22 lines 696 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getTradeHistoryPerAccount = void 0; /** * Use with {@link ApiComposer} and belongs to {@link AssetApi}. * * See details at {@link AssetApi.getAssetTransfersPerAccount} * * @category factories */ const getTradeHistoryPerAccount = (service) => (args) => { const { accountId, assetId, firstIndex, lastIndex } = args; const params = { asset: assetId, account: accountId, firstIndex, lastIndex }; return service.query('getTradeJournal', params); }; exports.getTradeHistoryPerAccount = getTradeHistoryPerAccount; //# sourceMappingURL=getTradeHistoryPerAccount.js.map