import { Observable } from 'rxjs'; import { RepositoryFactory } from '../infrastructure/RepositoryFactory'; import { UInt64 } from '../model/UInt64'; /** * Transaction Service */ export declare class BlockService { readonly repositoryFactory: RepositoryFactory; private readonly blockRepository; private readonly receiptRepository; /** * Constructor * @param repositoryFactory */ constructor(repositoryFactory: RepositoryFactory); /** * Validate transaction hash in block * @param leaf transaction hash * @param height block height */ validateTransactionInBlock(leaf: string, height: UInt64): Observable; /** * Validate statement hash in block * @param leaf statement hash * @param height block height */ validateStatementInBlock(leaf: string, height: UInt64): Observable; }