ordapi
Version:
97 lines (96 loc) • 2.91 kB
TypeScript
import { z } from 'zod';
export declare const OutputTypeSchema: z.ZodEnum<["any", "cardinal", "inscribed", "runic"]>;
export declare const SatRangeSchema: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
export declare const OutputInfoSchema: z.ZodObject<{
address: z.ZodNullable<z.ZodString>;
confirmations: z.ZodNumber;
indexed: z.ZodBoolean;
inscriptions: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
outpoint: z.ZodString;
runes: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
amount: z.ZodNumber;
divisibility: z.ZodNumber;
symbol: z.ZodString;
}, "strip", z.ZodTypeAny, {
symbol: string;
amount: number;
divisibility: number;
}, {
symbol: string;
amount: number;
divisibility: number;
}>>>;
sat_ranges: z.ZodNullable<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">>;
script_pubkey: z.ZodString;
spent: z.ZodBoolean;
transaction: z.ZodString;
value: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
value: number;
script_pubkey: string;
transaction: string;
inscriptions: string[] | null;
runes: Record<string, {
symbol: string;
amount: number;
divisibility: number;
}> | null;
confirmations: number;
address: string | null;
indexed: boolean;
outpoint: string;
sat_ranges: [number, number][] | null;
spent: boolean;
}, {
value: number;
script_pubkey: string;
transaction: string;
inscriptions: string[] | null;
runes: Record<string, {
symbol: string;
amount: number;
divisibility: number;
}> | null;
confirmations: number;
address: string | null;
indexed: boolean;
outpoint: string;
sat_ranges: [number, number][] | null;
spent: boolean;
}>;
export declare const OutputAssetsSchema: z.ZodObject<{
inscriptions: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
runes: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
amount: z.ZodNumber;
divisibility: z.ZodNumber;
symbol: z.ZodString;
}, "strip", z.ZodTypeAny, {
symbol: string;
amount: number;
divisibility: number;
}, {
symbol: string;
amount: number;
divisibility: number;
}>>>;
sat_ranges: z.ZodNullable<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">>;
value: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
value: number;
inscriptions: string[] | null;
runes: Record<string, {
symbol: string;
amount: number;
divisibility: number;
}> | null;
sat_ranges: [number, number][] | null;
}, {
value: number;
inscriptions: string[] | null;
runes: Record<string, {
symbol: string;
amount: number;
divisibility: number;
}> | null;
sat_ranges: [number, number][] | null;
}>;