mirror of
https://github.com/bitbaum/paykit.git
synced 2026-12-04 04:27:41 +01:00
7 lines
269 B
TypeScript
7 lines
269 B
TypeScript
/**
|
|
* Strip what a wallet app wraps around a receive string.
|
|
* `bitcoin:bc1q…`, a QR in uppercase, and `bitcoin:?lightning=lnbc…` become the handle.
|
|
* Anything unrecognised is only trimmed.
|
|
*/
|
|
export declare function normalizePastedHandle(raw: string): string;
|