UNPKG

@lodestar/api

Version:

A Typescript REST client for the Ethereum Consensus API

8 lines 568 B
import { ChainForkConfig } from "@lodestar/config"; import type { FastifyInstance } from "fastify"; import { ApplicationMethods, FastifyRoutes } from "../../utils/server/index.js"; import { Endpoints } from "../routes.js"; export type KeymanagerApiMethods = ApplicationMethods<Endpoints>; export declare function getRoutes(config: ChainForkConfig, methods: KeymanagerApiMethods): FastifyRoutes<Endpoints>; export declare function registerRoutes(server: FastifyInstance, config: ChainForkConfig, methods: KeymanagerApiMethods): void; //# sourceMappingURL=index.d.ts.map