UNPKG

@signumjs/core

Version:

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

15 lines (14 loc) 466 B
/** * Copyright (c) 2019 Burst Apps Team */ import { ChainService } from '../../../service/chainService'; import { BlockList } from '../../../typings/blockList'; /** * Use with {@link ApiComposer} and belongs to {@link BlockApi}. * * See details at {@link BlockApi.getBlocks} * * * @category factories */ export declare const getBlocks: (service: ChainService) => (firstIndex?: number, lastIndex?: number, includeTransactions?: boolean) => Promise<BlockList>;