Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/api-derive/staking/cache.ts>filterCachedEras

Package publishing for deno.land/x/polkadot
Go to Latest
function filterCachedEras
import { filterCachedEras } from "https://deno.land/x/polkadot@0.2.12/api-derive/staking/cache.ts";

Type Parameters

T extends { era: EraIndex; }

Parameters

eras: EraIndex[]
cached: T[]
query: T[]