UNPKG

@lodestar/prover

Version:

A Typescript implementation of the Ethereum Consensus light client

12 lines 835 B
import { Common } from "@ethereumjs/common"; import { ELApiParams, ELApiReturn, ELTransaction } from "../types.js"; import { ELRpcProvider } from "./rpc_provider.js"; export type Optional<T, K extends keyof T> = Omit<T, K> & { [P in keyof T]?: T[P] | undefined; }; export declare function getELCode(rpc: ELRpcProvider, args: ELApiParams["eth_getCode"]): Promise<ELApiReturn["eth_getCode"]>; export declare function getELProof(rpc: ELRpcProvider, args: ELApiParams["eth_getProof"]): Promise<ELApiReturn["eth_getProof"]>; export declare function getELBlock(rpc: ELRpcProvider, args: ELApiParams["eth_getBlockByNumber"]): Promise<ELApiReturn["eth_getBlockByNumber"]>; export declare function getChainCommon(network: string): Common; export declare function getTxType(tx: ELTransaction): number; //# sourceMappingURL=execution.d.ts.map