mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
13 lines
362 B
TypeScript
13 lines
362 B
TypeScript
declare module 'bip21' {
|
|
export type TOptions =
|
|
| {
|
|
amount?: number;
|
|
label?: string;
|
|
pj?: string;
|
|
}
|
|
| { [key: string]: string };
|
|
|
|
export function decode(uri: string, urnScheme?: string): { address: string; options: TOptions };
|
|
export function encode(address: string, options?: TOptions, urnScheme?: string): string;
|
|
}
|