- getBlocks(service): ((firstIndex?: number, lastIndex?: number, includeTransactions?: boolean) => Promise<BlockList>)
Returns ((firstIndex?: number, lastIndex?: number, includeTransactions?: boolean) => Promise<BlockList>)
- (firstIndex?, lastIndex?, includeTransactions?): Promise<BlockList>
Parameters
Optional
firstIndex: numberOptional
lastIndex: numberOptional
includeTransactions: boolean
Use with ApiComposer and belongs to BlockApi.
See details at BlockApi.getBlocks