API Client for https://wex.nz: Trade API and Public API with TypeScript support.

Also, you can use it with liqui.io and yobit.net.

Install

npm install btc-e3 --save or yarn add btc-e3

Usage

import { TradeAPI, PublicAPI } from "btc-e3"; const api = new TradeAPI({ key: "key1", secret: "secret1", baseUrl: "https://yobit.net/tapi", // any url with this api specification }); api.getInfo().then((info)=>{ console.log(info.transaction_count); });

Test

npm install npm test

Donate