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