import { createBlockNumberDerive } from "https://deno.land/x/polkadot@0.2.16/api-derive/chain/util.ts";
Type Parameters
T extends { number: Compact<BlockNumber> | BlockNumber; }
Parameters
fn: (api: DeriveApi) => Observable<T>
Returns
(instanceId: string, api: DeriveApi) => () => Observable<BlockNumber>