postchain-client
Version:
Client library for accessing a Postchain node through REST.
19 lines (18 loc) • 555 B
TypeScript
import { z } from "zod";
import { Validation, ValidationOptions } from "./validation.types";
export declare const validateBlockChainIdentifier: (networkSettings: unknown, options?: ValidationOptions) => {
success: false;
error: z.ZodError<{
blockchainIid: number;
blockchainRid?: undefined;
} | {
blockchainRid: string;
blockchainIid?: undefined;
}>;
message: string;
} | {
success: boolean;
error?: undefined;
message?: undefined;
};
export declare const isNetworkSettingValid: Validation;