cyphertap
Version:
Nostr, Lightning and Ecash on a single Button component
12 lines (11 loc) • 332 B
TypeScript
/**
* A simple function to validate a mint URL by attempting to connect to it
*
* @param mintUrl The URL of the mint to validate
* @returns A validation result with status and error message if any
*/
export declare function validateMint(mintUrl: string): Promise<{
isValid: boolean;
error?: string;
info?: any;
}>;