/** * [[link-alchemy]] provides a third-party service for connecting to * various blockchains over JSON-RPC. * * **Supported Networks** * * - Ethereum Mainnet (``mainnet``) * - Goerli Testnet (``goerli``) * - Sepolia Testnet (``sepolia``) * - Arbitrum (``arbitrum``) * - Arbitrum Goerli Testnet (``arbitrum-goerli``) * - Arbitrum Sepolia Testnet (``arbitrum-sepolia``) * - Base (``base``) * - Base Goerlia Testnet (``base-goerli``) * - Base Sepolia Testnet (``base-sepolia``) * - Optimism (``optimism``) * - Optimism Goerli Testnet (``optimism-goerli``) * - Optimism Sepolia Testnet (``optimism-sepolia``) * - Polygon (``matic``) * - Polygon Amoy Testnet (``matic-amoy``) * - Polygon Mumbai Testnet (``matic-mumbai``) * * @_subsection: api/providers/thirdparty:Alchemy [providers-alchemy] */ import { FetchRequest } from "../utils/index.js"; import { Network } from "./network.js"; import { JsonRpcProvider } from "./provider-jsonrpc.js"; import type { AbstractProvider, PerformActionRequest } from "./abstract-provider.js"; import type { CommunityResourcable } from "./community.js"; import type { Networkish } from "./network.js"; /** * The **AlchemyProvider** connects to the [[link-alchemy]] * JSON-RPC end-points. * * By default, a highly-throttled API key is used, which is * appropriate for quick prototypes and simple scripts. To * gain access to an increased rate-limit, it is highly * recommended to [sign up here](link-alchemy-signup). * * @_docloc: api/providers/thirdparty */ export declare class AlchemyProvider extends JsonRpcProvider implements CommunityResourcable { readonly apiKey: string; constructor(_network?: Networkish, apiKey?: null | string); _getProvider(chainId: number): AbstractProvider; _perform(req: PerformActionRequest): Promise; isCommunityResource(): boolean; static getRequest(network: Network, apiKey?: string): FetchRequest; } //# sourceMappingURL=provider-alchemy.d.ts.map