@lodestar/params
Version:
Chain parameters required for lodestar
12 lines • 450 B
TypeScript
import { BeaconPreset } from "./types.js";
/**
* Render BeaconPreset to JSON strings
* - Numbers: Render as a quoted decimal string
*/
export declare function presetToJson(preset: BeaconPreset): Record<string, string>;
/**
* Parse JSON strings of BeaconPreset
* - Numbers: Convert quoted decimal string to number
*/
export declare function presetFromJson(json: Record<string, unknown>): Partial<BeaconPreset>;
//# sourceMappingURL=json.d.ts.map