Skip to content

OpiumProtocol/oex-js

Repository files navigation

OEX JS SDK

This npm module implements the HTTP and Socket.io API of https://trade.opium.exchange/

Documentation

API Reference - https://opiumprotocol.github.io/oex-js/

Installation

npm i @opiumteam/oex-js

Examples

Get products list

import { Api } from '@opiumteam/oex-js'

const api = new Api()

api
  .tickersGetAll({type: 'swap'})
  .then(tickers => console.log(tickers))

Development

Clone project and install dev dependencies

npm i

Run TS build, linter and docs

npm run build
npm run lint
npm run docs

Submit pull requests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages