UNPKG

ordapi

Version:
240 lines (239 loc) 8.56 kB
import { z } from 'zod'; export declare const CharmTypeSchema: z.ZodEnum<["burned", "coin", "cursed", "epic", "legendary", "lost", "mythic", "nineball", "palindrome", "rare", "reinscription", "unbound", "uncommon", "vindicated"]>; export declare const InscriptionInfoSchema: z.ZodObject<{ address: z.ZodNullable<z.ZodString>; charms: z.ZodArray<z.ZodEnum<["burned", "coin", "cursed", "epic", "legendary", "lost", "mythic", "nineball", "palindrome", "rare", "reinscription", "unbound", "uncommon", "vindicated"]>, "many">; child_count: z.ZodNumber; children: z.ZodArray<z.ZodString, "many">; content_length: z.ZodNullable<z.ZodNumber>; content_type: z.ZodNullable<z.ZodString>; effective_content_type: z.ZodNullable<z.ZodString>; fee: z.ZodNumber; height: z.ZodNumber; id: z.ZodString; next: z.ZodNullable<z.ZodString>; number: z.ZodNumber; parents: z.ZodArray<z.ZodString, "many">; previous: z.ZodNullable<z.ZodString>; rune: z.ZodNullable<z.ZodString>; sat: z.ZodNullable<z.ZodNumber>; satpoint: z.ZodString; timestamp: z.ZodNumber; value: z.ZodNullable<z.ZodNumber>; metaprotocol: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { number: number; value: number | null; height: number; timestamp: number; address: string | null; charms: ("burned" | "coin" | "cursed" | "epic" | "legendary" | "lost" | "mythic" | "nineball" | "palindrome" | "rare" | "reinscription" | "unbound" | "uncommon" | "vindicated")[]; child_count: number; children: string[]; content_length: number | null; content_type: string | null; effective_content_type: string | null; fee: number; id: string; next: string | null; parents: string[]; previous: string | null; rune: string | null; sat: number | null; satpoint: string; metaprotocol: string | null; }, { number: number; value: number | null; height: number; timestamp: number; address: string | null; charms: ("burned" | "coin" | "cursed" | "epic" | "legendary" | "lost" | "mythic" | "nineball" | "palindrome" | "rare" | "reinscription" | "unbound" | "uncommon" | "vindicated")[]; child_count: number; children: string[]; content_length: number | null; content_type: string | null; effective_content_type: string | null; fee: number; id: string; next: string | null; parents: string[]; previous: string | null; rune: string | null; sat: number | null; satpoint: string; metaprotocol: string | null; }>; export declare const InscriptionRecursiveSchema: z.ZodObject<{ charms: z.ZodArray<z.ZodEnum<["burned", "coin", "cursed", "epic", "legendary", "lost", "mythic", "nineball", "palindrome", "rare", "reinscription", "unbound", "uncommon", "vindicated"]>, "many">; content_type: z.ZodNullable<z.ZodString>; content_length: z.ZodNullable<z.ZodNumber>; delegate: z.ZodNullable<z.ZodString>; fee: z.ZodNumber; height: z.ZodNumber; id: z.ZodString; number: z.ZodNumber; output: z.ZodString; sat: z.ZodNullable<z.ZodNumber>; satpoint: z.ZodString; timestamp: z.ZodNumber; value: z.ZodNullable<z.ZodNumber>; address: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { number: number; value: number | null; output: string; height: number; timestamp: number; address: string | null; charms: ("burned" | "coin" | "cursed" | "epic" | "legendary" | "lost" | "mythic" | "nineball" | "palindrome" | "rare" | "reinscription" | "unbound" | "uncommon" | "vindicated")[]; content_length: number | null; content_type: string | null; fee: number; id: string; sat: number | null; satpoint: string; delegate: string | null; }, { number: number; value: number | null; output: string; height: number; timestamp: number; address: string | null; charms: ("burned" | "coin" | "cursed" | "epic" | "legendary" | "lost" | "mythic" | "nineball" | "palindrome" | "rare" | "reinscription" | "unbound" | "uncommon" | "vindicated")[]; content_length: number | null; content_type: string | null; fee: number; id: string; sat: number | null; satpoint: string; delegate: string | null; }>; export declare const InscriptionsResponseSchema: z.ZodObject<{ ids: z.ZodArray<z.ZodString, "many">; more: z.ZodBoolean; page_index: z.ZodNumber; }, "strip", z.ZodTypeAny, { ids: string[]; more: boolean; page_index: number; }, { ids: string[]; more: boolean; page_index: number; }>; export declare const InscriptionsIDsResponseSchema: z.ZodObject<{ ids: z.ZodArray<z.ZodString, "many">; more: z.ZodBoolean; page: z.ZodNumber; }, "strip", z.ZodTypeAny, { ids: string[]; more: boolean; page: number; }, { ids: string[]; more: boolean; page: number; }>; export declare const ChildInfoSchema: z.ZodObject<{ charms: z.ZodArray<z.ZodEnum<["burned", "coin", "cursed", "epic", "legendary", "lost", "mythic", "nineball", "palindrome", "rare", "reinscription", "unbound", "uncommon", "vindicated"]>, "many">; fee: z.ZodNumber; height: z.ZodNumber; id: z.ZodString; number: z.ZodNumber; output: z.ZodString; sat: z.ZodNumber; satpoint: z.ZodString; timestamp: z.ZodNumber; }, "strip", z.ZodTypeAny, { number: number; output: string; height: number; timestamp: number; charms: ("burned" | "coin" | "cursed" | "epic" | "legendary" | "lost" | "mythic" | "nineball" | "palindrome" | "rare" | "reinscription" | "unbound" | "uncommon" | "vindicated")[]; fee: number; id: string; sat: number; satpoint: string; }, { number: number; output: string; height: number; timestamp: number; charms: ("burned" | "coin" | "cursed" | "epic" | "legendary" | "lost" | "mythic" | "nineball" | "palindrome" | "rare" | "reinscription" | "unbound" | "uncommon" | "vindicated")[]; fee: number; id: string; sat: number; satpoint: string; }>; export declare const ChildrenInfoResponseSchema: z.ZodObject<{ children: z.ZodArray<z.ZodObject<{ charms: z.ZodArray<z.ZodEnum<["burned", "coin", "cursed", "epic", "legendary", "lost", "mythic", "nineball", "palindrome", "rare", "reinscription", "unbound", "uncommon", "vindicated"]>, "many">; fee: z.ZodNumber; height: z.ZodNumber; id: z.ZodString; number: z.ZodNumber; output: z.ZodString; sat: z.ZodNumber; satpoint: z.ZodString; timestamp: z.ZodNumber; }, "strip", z.ZodTypeAny, { number: number; output: string; height: number; timestamp: number; charms: ("burned" | "coin" | "cursed" | "epic" | "legendary" | "lost" | "mythic" | "nineball" | "palindrome" | "rare" | "reinscription" | "unbound" | "uncommon" | "vindicated")[]; fee: number; id: string; sat: number; satpoint: string; }, { number: number; output: string; height: number; timestamp: number; charms: ("burned" | "coin" | "cursed" | "epic" | "legendary" | "lost" | "mythic" | "nineball" | "palindrome" | "rare" | "reinscription" | "unbound" | "uncommon" | "vindicated")[]; fee: number; id: string; sat: number; satpoint: string; }>, "many">; more: z.ZodBoolean; page: z.ZodNumber; }, "strip", z.ZodTypeAny, { children: { number: number; output: string; height: number; timestamp: number; charms: ("burned" | "coin" | "cursed" | "epic" | "legendary" | "lost" | "mythic" | "nineball" | "palindrome" | "rare" | "reinscription" | "unbound" | "uncommon" | "vindicated")[]; fee: number; id: string; sat: number; satpoint: string; }[]; more: boolean; page: number; }, { children: { number: number; output: string; height: number; timestamp: number; charms: ("burned" | "coin" | "cursed" | "epic" | "legendary" | "lost" | "mythic" | "nineball" | "palindrome" | "rare" | "reinscription" | "unbound" | "uncommon" | "vindicated")[]; fee: number; id: string; sat: number; satpoint: string; }[]; more: boolean; page: number; }>; export declare const InscriptionIDSchema: z.ZodObject<{ id: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string | null; }, { id: string | null; }>;