import type { Address } from '../../config'; import { FetchJson } from '../../peripherals/fetchJson'; import type { Abi } from '../../types'; import { NetworkSymbol } from '../networks'; import { UserEtherscanKeys, UserEtherscanURLs } from './explorerEndpoints'; export declare function getAbiFromEtherscan(networkSymbol: NetworkSymbol, address: Address, config: EtherscanConfig, fetch: FetchJson): Promise; /** * @see https://docs.etherscan.io/api-endpoints/contracts */ export interface EtherscanResponse { status: string | number; result: string; message: 'OK' | 'NOTOK'; } interface EtherscanConfig { etherscanKey?: string | undefined; etherscanKeys: UserEtherscanKeys; etherscanURLs: UserEtherscanURLs; } export {};