Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Type Parameters

T extends { era: EraIndex; }

Parameters

cacheKey: string
withActive: boolean
value: T