@fruitsjs/core
Version:
Principal package with functions and models for building Fruits Eco-Blockchain applications.
14 lines • 517 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAccountBlocks = void 0;
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