UNPKG

@signumjs/core

Version:

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

16 lines 515 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getBlockByTimestamp = void 0; /** * Use with {@link ApiComposer} and belongs to {@link BlockApi}. * * See details at {@link BlockApi.getBlockByTimestamp} * * @category factories */ const getBlockByTimestamp = (service) => (timestamp, includeTransactions) => service.query('getBlock', { timestamp, includeTransactions }); exports.getBlockByTimestamp = getBlockByTimestamp; //# sourceMappingURL=getBlockByTimestamp.js.map