@ceramicnetwork/core
Version:
Typescript implementation of the Ceramic protocol
12 lines • 474 B
TypeScript
import * as providers from '@ethersproject/providers';
export interface IProvidersCache {
getProvider(chainId: string | null): Promise<providers.BaseProvider>;
ethereumRpcEndpoint: string;
}
export declare class ProvidersCache {
readonly ethereumRpcEndpoint: string;
private readonly cache;
constructor(ethereumRpcEndpoint: string);
getProvider(chainId: string | null): Promise<providers.BaseProvider>;
}
//# sourceMappingURL=providers-cache.d.ts.map