UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

14 lines (11 loc) 434 B
// 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; } declare module "bip21" { export = bip21; }