mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
403 B
TypeScript
12 lines
403 B
TypeScript
// Type definitions for bip21 v1.1.2
|
|
// Project: https://github.com/bitcoinjs/bip21
|
|
// Definitions by: Stefan Huber <https://github.com/stefanhuber/>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare namespace bip21 {
|
|
export function decode(uri:string) : {address:string,amount?:number};
|
|
export function encode(address:string,options?:any) : string;
|
|
}
|
|
|
|
export = bip21;
|