UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

10 lines 578 B
import { routes } from "@lodestar/api"; import { ApplicationMethods } from "@lodestar/api/server"; import { Checkpoint } from "@lodestar/types/phase0"; import { ApiModules } from "../types.js"; export declare function getLodestarApi({ chain, config, db, network, sync }: Pick<ApiModules, "chain" | "config" | "db" | "network" | "sync">): ApplicationMethods<routes.lodestar.Endpoints>; /** * Extract a checkpoint from a string in the format `rootHex:epoch`. */ export declare function getCheckpointFromArg(checkpointStr: string): Checkpoint; //# sourceMappingURL=index.d.ts.map