export type TransactionStatus = { found: false; } | { found: true; confirmed: false; } | { found: true; confirmed: true; /** Block height. Undefined for unconfirmed transactions */ blockHeight: number; /** Not available for all APIs */ blockHash?: string; /** Confirmation date. Not available for all APIs. */ date?: Date; }; export interface TransactionApi { /** * @param txid * @return transaction hex string */ getTransactionHex(txid: string): Promise; /** * @param txid * @return BlockInfo if found, undefined otherwise */ getTransactionStatus(txid: string): Promise; } export interface BlockApi { /** * @param height * @return block hash at height */ getBlockIdAtHeight(height: number): Promise; /** * @param hash * @return transaction ids in block at height */ getTransactionIds(hash: string): Promise; } export declare function getTransactionIdsAtHeight(api: BlockApi, height: number): Promise; //# sourceMappingURL=TransactionApi.d.ts.map