ts-wallex

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";

// Create a new instance of the Wallex client
const client = new Client();

// Example: Get list of available currencies
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 Library documentation.

License

See the LICENSE file for license rights and limitations (MIT).

CHANGELOG

For a detailed list of changes, see the CHANGELOG.

Generated using TypeDoc