@etherna/sdk-js
Version:
Etherna SDKs for operations on the network
21 lines • 641 B
TypeScript
import { z } from "zod";
export declare const MantarayNodeSchema: z.ZodSchema<MantarayNode>;
export declare const MantarayForkSchema: z.ZodObject<{
prefix: z.ZodString;
node: z.ZodType<MantarayNode, z.ZodTypeDef, MantarayNode>;
}, "strip", z.ZodTypeAny, {
prefix: string;
node: MantarayNode;
}, {
prefix: string;
node: MantarayNode;
}>;
export type MantarayNode = {
type: number;
entry?: string;
contentAddress?: string;
metadata?: Record<string, string>;
forks: Record<string, MantarayFork>;
};
export type MantarayFork = z.infer<typeof MantarayForkSchema>;
//# sourceMappingURL=mantaray.d.ts.map