stacks-pay
Version:
A Payment Request Standard for Stacks Blockchain Payments
7 lines (6 loc) • 398 B
TypeScript
export declare function isValidToken(token: string): boolean;
export declare function isValidAmount(amount: string): boolean;
export declare function isValidISODate(dateStr: string): boolean;
export declare function bech32mEncode(data: string): string;
export declare function bech32mDecode(bech32mEncoded: string): string;
export declare const validateStacksAddress: (address: string) => boolean;