@ledgerhq/coin-hedera
Version:
Ledger Hedera Coin integration
10 lines • 617 B
TypeScript
import type { BlockInfo } from "@ledgerhq/coin-module-framework/api/types";
/**
* Retrieves synthetic block information based on the provided block height.
*
* @param blockHeight - The height of the block for which to retrieve information.
* @param blockWindowSeconds - The duration in seconds that defines the synthetic block window (default is SYNTHETIC_BLOCK_WINDOW_SECONDS).
* @returns An object containing the block height, block hash, and block time.
*/
export declare const getBlockInfo: (blockHeight: number, blockWindowSeconds?: number) => Promise<BlockInfo>;
//# sourceMappingURL=getBlockInfo.d.ts.map