UNPKG

@lodestar/api

Version:

A Typescript REST client for the Ethereum Consensus API

9 lines 445 B
import { ChainForkConfig } from "@lodestar/config"; import { ApplicationMethods, FastifyRoutes } from "../../utils/server/index.js"; import { Endpoints } from "../routes/events.js"; export declare function getRoutes(config: ChainForkConfig, methods: ApplicationMethods<Endpoints>): FastifyRoutes<Endpoints>; export declare function serializeSSEEvent(chunk: { event: string; data: unknown; }): string; //# sourceMappingURL=events.d.ts.map