import type { Provider } from '../types'; import { JsonRpcPayload } from '../types'; interface HttpProviderOptions { url: string; params?: Partial>; } export declare type HttpProviderLike = string | HttpProviderOptions; /** * A raw HTTP provider, which can be used with an Ethereum node endpoint (JSON-RPC), or an `HttpProviderOptions` object. */ declare const provider: Provider; export default provider; /** * Get the JSON-RPC payload for the `eth_call` function. */ export declare const getPayload: (method: string, params: unknown[]) => JsonRpcPayload; //# sourceMappingURL=http.d.ts.map