DefinitelyTyped/bip21/index.d.ts
2016-06-20 14:15:13 -07:00

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;