2018-07-23 19:21:42 -04:00
|
|
|
import { JsonRpcProvider, JsonRpcSigner } from './json-rpc-provider';
|
2018-07-30 18:59:52 -04:00
|
|
|
import { Networkish } from '../utils/networks';
|
2018-07-23 19:21:42 -04:00
|
|
|
export declare class InfuraProvider extends JsonRpcProvider {
|
|
|
|
readonly apiAccessToken: string;
|
2019-01-23 16:30:12 -05:00
|
|
|
readonly projectId: string;
|
|
|
|
constructor(network?: Networkish, projectId?: string);
|
2018-07-23 19:21:42 -04:00
|
|
|
protected _startPending(): void;
|
|
|
|
getSigner(address?: string): JsonRpcSigner;
|
|
|
|
listAccounts(): Promise<Array<string>>;
|
|
|
|
}
|