ts-wallex
Description
ts-wallex is an SDK designed to simplify interactions with the Wallex.ir
cryptocurrency exchange API. It utilizes Axios, a promise-based
HTTP client for Node.js and browsers, to facilitate seamless communication
with the API endpoints.
Installation
You can install ts-wallex via npm:
npm install ts-wallex
Usage
Here's how you can use ts-wallex in your project:
import { Client } from "ts-wallex";
const client = new Client();
async function getOrderbook() {
try {
const usdttmn = await client.fetchOrderBook("USDTTMN")();
console.log(usdttmn);
} catch (error) {
console.error('Error fetching currencies:', error);
}
}
getOrderbook();
Documentation
You can find the full documentation for the Wallex API here.
For detailed documentation on available methods and their usage, refer to the API documentation.
License
See the LICENSE file for license rights and limitations (MIT).