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