Files
paykit/dist/normalize.d.ts

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;