import { _getHeaderRange } from "https://deno.land/x/polkadot@0.2.16/api-derive/chain/subscribeFinalizedHeads.ts";
Returns a header range from startHash to to (not including) endHash, i.e. lastBlock.parentHash === endHash
Parameters
api: DeriveApi