New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ts-wallex-test

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-wallex-test

A simple library to interact with the Wallex API

  • 0.0.3
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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 API documentation.

License

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

Keywords

FAQs

Package last updated on 18 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc