1 | import { Network, Networkish } from "@ethersproject/networks";
|
2 | import { ConnectionInfo } from "@ethersproject/web";
|
3 | import { CommunityResourcable } from "./formatter";
|
4 | import { JsonRpcProvider, JsonRpcSigner } from "./json-rpc-provider";
|
5 | export declare class StaticJsonRpcProvider extends JsonRpcProvider {
|
6 | detectNetwork(): Promise<Network>;
|
7 | }
|
8 | export declare abstract class UrlJsonRpcProvider extends StaticJsonRpcProvider implements CommunityResourcable {
|
9 | readonly apiKey: any;
|
10 | constructor(network?: Networkish, apiKey?: any);
|
11 | _startPending(): void;
|
12 | isCommunityResource(): boolean;
|
13 | getSigner(address?: string): JsonRpcSigner;
|
14 | listAccounts(): Promise<Array<string>>;
|
15 | static getApiKey(apiKey: any): any;
|
16 | static getUrl(network: Network, apiKey: any): string | ConnectionInfo;
|
17 | }
|
18 | //# sourceMappingURL=url-json-rpc-provider.d.ts.map |
\ | No newline at end of file |