ordapi
Version:
84 lines (83 loc) • 2.1 kB
TypeScript
import { z } from 'zod';
export declare const ServerStatusSchema: z.ZodObject<{
address_index: z.ZodBoolean;
blessed_inscriptions: z.ZodNumber;
chain: z.ZodString;
cursed_inscriptions: z.ZodNumber;
height: z.ZodNumber;
initial_sync_time: z.ZodObject<{
secs: z.ZodNumber;
nanos: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
secs: number;
nanos: number;
}, {
secs: number;
nanos: number;
}>;
inscriptions: z.ZodNumber;
lost_sats: z.ZodNumber;
minimum_rune_for_next_block: z.ZodNullable<z.ZodString>;
rune_index: z.ZodBoolean;
runes: z.ZodNumber;
sat_index: z.ZodBoolean;
started: z.ZodString;
transaction_index: z.ZodBoolean;
unrecoverably_reorged: z.ZodBoolean;
uptime: z.ZodObject<{
secs: z.ZodNumber;
nanos: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
secs: number;
nanos: number;
}, {
secs: number;
nanos: number;
}>;
}, "strip", z.ZodTypeAny, {
chain: string;
height: number;
inscriptions: number;
runes: number;
address_index: boolean;
blessed_inscriptions: number;
cursed_inscriptions: number;
initial_sync_time: {
secs: number;
nanos: number;
};
lost_sats: number;
minimum_rune_for_next_block: string | null;
rune_index: boolean;
sat_index: boolean;
started: string;
transaction_index: boolean;
unrecoverably_reorged: boolean;
uptime: {
secs: number;
nanos: number;
};
}, {
chain: string;
height: number;
inscriptions: number;
runes: number;
address_index: boolean;
blessed_inscriptions: number;
cursed_inscriptions: number;
initial_sync_time: {
secs: number;
nanos: number;
};
lost_sats: number;
minimum_rune_for_next_block: string | null;
rune_index: boolean;
sat_index: boolean;
started: string;
transaction_index: boolean;
unrecoverably_reorged: boolean;
uptime: {
secs: number;
nanos: number;
};
}>;