UNPKG

airgap-coin-lib

Version:

The airgap-coin-lib is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.

14 lines (13 loc) 389 B
interface CacheConfig { cacheValue: boolean; } export declare class SubstrateNodeCache { expirationTime: number; constructor(expirationTime: number); private readonly cachedValues; private readonly promises; get<T>(key: string): Promise<T>; save(key: string, promise: Promise<any>, config?: CacheConfig): Promise<any>; private isValidOrDelete; } export {};