UNPKG

saepenatus

Version:

Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, mul

21 lines 997 B
import { Network, Networkish } from "@ethersproject/networks"; import { ConnectionInfo } from "@ethersproject/web"; import { WebSocketProvider } from "./websocket-provider"; import { CommunityResourcable } from "./formatter"; import { UrlJsonRpcProvider } from "./url-json-rpc-provider"; export declare class InfuraWebSocketProvider extends WebSocketProvider implements CommunityResourcable { readonly apiKey: string; readonly projectId: string; readonly projectSecret: string; constructor(network?: Networkish, apiKey?: any); isCommunityResource(): boolean; } export declare class InfuraProvider extends UrlJsonRpcProvider { readonly projectId: string; readonly projectSecret: string; static getWebSocketProvider(network?: Networkish, apiKey?: any): InfuraWebSocketProvider; static getApiKey(apiKey: any): any; static getUrl(network: Network, apiKey: any): ConnectionInfo; isCommunityResource(): boolean; } //# sourceMappingURL=infura-provider.d.ts.map