38 lines
2.2 KiB
JavaScript
38 lines
2.2 KiB
JavaScript
/**
|
|
* A **Provider** provides a connection to the blockchain, whch can be
|
|
* used to query its current state, simulate execution and send transactions
|
|
* to update the state.
|
|
*
|
|
* It is one of the most fundamental components of interacting with a
|
|
* blockchain application, and there are many ways to connect, such as over
|
|
* HTTP, WebSockets or injected providers such as [MetaMask](link-metamask).
|
|
*
|
|
* @_section: api/providers:Providers [about-providers]
|
|
*/
|
|
export { AbstractProvider, UnmanagedSubscriber } from "./abstract-provider.js";
|
|
export { AbstractSigner, VoidSigner, } from "./abstract-signer.js";
|
|
export { showThrottleMessage } from "./community.js";
|
|
export { getDefaultProvider } from "./default-provider.js";
|
|
export { EnsResolver, MulticoinProviderPlugin } from "./ens-resolver.js";
|
|
export { Network } from "./network.js";
|
|
export { NonceManager } from "./signer-noncemanager.js";
|
|
export { NetworkPlugin, GasCostPlugin, EnsPlugin, FeeDataNetworkPlugin, FetchUrlFeeDataNetworkPlugin, } from "./plugins-network.js";
|
|
export { Block, FeeData, Log, TransactionReceipt, TransactionResponse, copyRequest,
|
|
//resolveTransactionRequest,
|
|
} from "./provider.js";
|
|
export { FallbackProvider } from "./provider-fallback.js";
|
|
export { JsonRpcApiProvider, JsonRpcProvider, JsonRpcSigner } from "./provider-jsonrpc.js";
|
|
export { BrowserProvider } from "./provider-browser.js";
|
|
export { AlchemyProvider } from "./provider-alchemy.js";
|
|
export { AnkrProvider } from "./provider-ankr.js";
|
|
export { CloudflareProvider } from "./provider-cloudflare.js";
|
|
export { EtherscanProvider, EtherscanPlugin } from "./provider-etherscan.js";
|
|
export { InfuraProvider, InfuraWebSocketProvider } from "./provider-infura.js";
|
|
export { PocketProvider } from "./provider-pocket.js";
|
|
export { QuickNodeProvider } from "./provider-quicknode.js";
|
|
import { IpcSocketProvider } from "./provider-ipcsocket.js"; /*-browser*/
|
|
export { IpcSocketProvider };
|
|
export { SocketProvider } from "./provider-socket.js";
|
|
export { WebSocketProvider } from "./provider-websocket.js";
|
|
export { SocketSubscriber, SocketBlockSubscriber, SocketPendingSubscriber, SocketEventSubscriber } from "./provider-socket.js";
|
|
//# sourceMappingURL=index.js.map
|