UNPKG

web3-domain-resolver

Version:

Web3 Library that enable with just one function to resolve domains on multiple web3 providers such as ENS, UnstoppableDomains and Freename

9 lines (8 loc) 412 B
import { NetworkConnection, NetworkName } from "../networks/connections/network-connection.types"; export declare const DEFAULT_RPC_URL: Record<NetworkName, string>; export declare const DEFAULT_INFURA_RPC_URL: Record<NetworkName, string>; export declare class DefaultTools { static getDefaultConnection(networkName: NetworkName, options?: { infuraIfAvailable?: boolean; }): NetworkConnection; }