13 lines
579 B
TypeScript
13 lines
579 B
TypeScript
import { Network, Networkish } from "@ethersproject/networks";
|
|
import { ConnectionInfo } from "@ethersproject/web";
|
|
import { JsonRpcProvider, JsonRpcSigner } from "./json-rpc-provider";
|
|
export declare abstract class UrlJsonRpcProvider extends JsonRpcProvider {
|
|
readonly apiKey: string;
|
|
constructor(network?: Networkish, apiKey?: any);
|
|
_startPending(): void;
|
|
getSigner(address?: string): JsonRpcSigner;
|
|
listAccounts(): Promise<Array<string>>;
|
|
static getApiKey(apiKey: any): any;
|
|
static getUrl(network: Network, apiKey: any): string | ConnectionInfo;
|
|
}
|