UNPKG

@getalby/lightning-tools

Version:

Collection of helpful building blocks and tools to develop Bitcoin Lightning web apps

11 lines (10 loc) 347 B
export declare const fromHexString: (hexString: string) => Uint8Array<ArrayBuffer>; type DecodedInvoice = { paymentHash: string; satoshi: number; timestamp: number; expiry: number | undefined; description: string | undefined; }; export declare const decodeInvoice: (paymentRequest: string) => DecodedInvoice | null; export {};