@signumjs/core
Version:
Principal package with functions and models for building Signum Network applications.
16 lines • 491 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getBlockByHeight = void 0;
/**
* Use with {@link ApiComposer} and belongs to {@link BlockApi}.
*
* See details at {@link BlockApi.getBlockByHeight}
*
* @category factories
*/
const getBlockByHeight = (service) => (height, includeTransactions) => service.query('getBlock', {
height,
includeTransactions
});
exports.getBlockByHeight = getBlockByHeight;
//# sourceMappingURL=getBlockByHeight.js.map