import { Block } from '../block'; import { BlockId } from '../blockId'; import { BlockList } from '../blockList'; export interface BlockApi { getBlockByTimestamp: (timestamp: number, includeTransactions: boolean) => Promise; getBlockByHeight: (height: number, includeTransactions: boolean) => Promise; getBlockById: (block: string, includeTransactions: boolean) => Promise; getBlockId: (height: number) => Promise; getBlocks: (firstIndex?: number, lastIndex?: number, includeTransactions?: boolean) => Promise; }