import { sendMessage } from '../../messaging'; import { Command } from '../../constants'; interface GetBlockHashInput { height: number; network: string; } export function getBlockHash(data: GetBlockHashInput): Promise { return sendMessage({ command: Command.getBlockHash, data, }); }