@signumjs/core
Version:
Principal package with functions and models for building Signum Network applications.
21 lines • 659 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAccountBlocks = void 0;
/**
* Use with {@link ApiComposer} and belongs to {@link AccountApi}.
*
* See details at {@link AccountApi.getAccountBlocks}
*
* @category factories
*/
const getAccountBlocks = (service) => (args) => {
const params = {
account: args.accountId,
firstIndex: args.firstIndex,
lastIndex: args.lastIndex,
includeTransactions: args.includeTransactions || false
};
return service.query('getAccountBlocks', params);
};
exports.getAccountBlocks = getAccountBlocks;
//# sourceMappingURL=getAccountBlocks.js.map