@lido-sdk/providers
Version:
This project is being slowly deprecated and may not receive further updates. Check out [modern Lido SDK](https://github.com/lidofinance/lido-ethereum-sdk/pulls) to access latest functionality. It is actively maintained and is built for interacting with Li
8 lines (7 loc) • 841 B
TypeScript
import { CHAINS } from '@lido-sdk/constants';
import { JsonRpcProvider, JsonRpcBatchProvider, StaticJsonRpcProvider } from '@ethersproject/providers';
import { StaticJsonRpcBatchProvider } from './staticJsonRpcBatchProvider';
export declare const getRpcProvider: (chainId: CHAINS, url: string, cacheSeed?: number, pollingInterval?: number | null) => JsonRpcProvider;
export declare const getRpcBatchProvider: (chainId: CHAINS, url: string, cacheSeed?: number, pollingInterval?: number | null) => JsonRpcBatchProvider;
export declare const getStaticRpcProvider: (chainId: CHAINS, url: string, cacheSeed?: number, pollingInterval?: number | null) => StaticJsonRpcProvider;
export declare const getStaticRpcBatchProvider: (chainId: CHAINS, url: string, cacheSeed?: number, pollingInterval?: number | null) => StaticJsonRpcBatchProvider;